IDL Menu Fonts [message #8072] |
Tue, 04 February 1997 00:00 |
Brian J Soher
Messages: 2 Registered: June 1996
|
Junior Member |
|
|
Got a question about how to change the font for the elements in a
CW_PDMENU. We are using IDL 4.0 in a Windows NT 4.0 PC. I
create a base with a Mbar keyword followed by a bunch of other
widget element declarations (text, buttons etc). I use a:
WIDGET_CONTROL, tlbid, Default_font='arial*16'
immediately after the base declaration to change the font in the
base. All the widget elements in the base behave nicely,
realized in arial*16 font, but the elements I load into the Mbar
base ID stick with the NT defined menubar font (as set in the
Control Panel - Display utility).
I have also tried setting the FONT keyword for the CW_PDMENU
call. No change. I have tried a: WIDGET_CONTROL, menu_base,
Default_font='arial*16' command too. No change.
I am starting to think that it is a problem with NT4.0 ? just
because, nothing I do seems to affect the font used in the
menubar.
Any thoughts would be appreciated, thanks in advance.
Brian J. Soher
soher@itsa.ucsf.edu
|
|
|