Using the "life" project that is distributed with J601 as an example.
 
If I load the project from my normal J session the font of the form
controls honors the setting from Edit/Configure/Forms/Font.
 
If I start a bare J session (without a profile i.e. "j.exe -jprofile"),
and then load the built script (Project source, Project libraries, and
Standard libraries all included) using
0!:0 <'d:\jprg\user\projects\life\life.ijs'
 
Then the button and static text doesn't follow the PROFONT setting
towards the top of the life.ijs script (line 59).
--------------------------
else.
  if. notdef 'FIXFONT' do. FIXFONT=: '"Courier New" 12' end.
  if. notdef 'PROFONT' do. PROFONT=: '"MS Sans Serif" 8' end.
end. 
 --------------------------

In my own application that has a grid control on the form, the text of
the grid will follow the above setting but the other Form text won't.

How do I go about setting the font of the Form controls in a standalone
application?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to