AFAIK you have to issue the wd 'fontdef fontspec' before wd'pc ...' command to
make it effective. Once a form is created you cannot use fontdef command to
change default font for that form anymore although other new forms will use that
fontdef. After that point you have to use wd'setfont id ....' command to set
font for each child.
configuration in "Edit|Configure..." is only used inside J IDE. For standalone
scripts you have to set everything yourself. In particular the form editor knows
nothing about fontdef.
Sherlock, Ric wrote:
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Burke
Sherlock, Ric wrote:
...
How do I go about setting the font of the Form controls in a
standalone application?
wd 'fontdef fontspec' will set the default form font.
Normally, this is all that is needed, however in something
like the life demo that uses global font definitions, you
will need to set those as well.
Thanks Chris, putting that before my form is defined solved my problem.
I'm not sure what global font definitions are or how to set them, but
can leave that for another time!
Ric
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm