Hi all,
I want to change the font and the font size of a menu bar programmatically. Therefore I thought I should use the following function:
<<SetMenuBarAttribute (panelMenuBarHandle, Menu_FILE, ATTR_MENU_BAR_FONT, VAL_EDITOR_META_FONT);>>
and the same for changing the size.
But I get permanent error (return value -46, the attribute passed is not valid). Changing size and font in the user interface editor and saving changes in the uir-file is no problem!
Any suggestions?
Thanks for your help.