Re: XForms: Text and literal at sign:

Michael Glickman (michg@alphalink.com.au)
Thu, 09 Sep 1999 07:53:40 +1000

# 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!

I am using glibc version of XForms 0.88 in Linux.
Probably you tried 0.89 that is not quite well established.

According to XForms manul. @ is processed specially
only if occurs at start. Try again, your code may not be
not quite right.. unless XForms code is.

If the problem persists, try 'dirty trick' . Use
fl_add_symbol to assign function for a symbol
(e.g. @patch) . In the function, you can freely
use any character (hopefully). See 3.12 of
XForms manual.

Michael

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
>
> --
> 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/

_________________________________________________
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/