Re: XForms: Text and literal at sign:

Jason White (jdwhite@iastate.edu)
Wed, 08 Sep 1999 20:18:26 CDT

# To subscribers of the xforms list from Jason White <jdwhite@iastate.edu> :

># To subscribers of the xforms list from Michael Glickman <michg@alphalink.com
.au> :
>
>Hello Jason:
>
>Here are good news: I tried inserting a space before @.
>It worked and I could see @ in the text!

Yes, I can see the @ sign with xforms 0.88 under Linux and Digital Unix.
What's sort of annoying is that I see the space too. Example: I'm writing
a program that displays @xxx, where "xxx" is three numeric digits like
"123". By placing a space before the @ sign I now get " @123" and what
I'm looking for is just "@123". I know it sounds like I'm being
obnoxiously picky, but I had high hopes that there was a simple solution
for displaying text that started with an @ sign.

Thanks for the suggestions.

-Jason

>Jason White wrote:
>
>> # To subscribers of the xforms list from Jason White <jdwhite@iastate.edu> :
>>
>>>> I've been trying to figure out how to display a literal at (@) sign as
>>>>a button label using the function fl_set_object_label().
>>[...]
>>>
>>>Add a leading blank:
>>>
>>> " @"
>>
>> This solution does keep the forms library from complaining, but the
>>space shows up in the label as well which isn't desirable. Any other
>>solutions?

--
       Jason D. White                http://www.public.iastate.edu/~jdwhite
     jdwhite@iastate.edu                 finger for other information
    Iowa State University            (PGP pub key, Anon FTP, US Mail Addr)
Durham Center Operations Staff       Strive for excellence, not perfection.
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil   or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/