Jeanne A. E. DeVoto jeanne at runrev.com
Tue May 21 09:10:24 EDT 2002

At 8:01 AM -0700 5/20/2002, Tim wrote:
>2. The Option Menu button
>seems to be the only button style that does NOT retain the text formatting
>(read: user set textFont) inside as it's menu items. Can anyone help with
>either question?

(I'm assuming you're on a Mac)

Popup and option menus are drawn by the OS, so it sets the font used by
menu items. You can either:

- set the lookAndFeel to "Macintosh" instead of "Appearance Manager" to
have the engine draw the menus itself, in which case it uses the button
font instead of the systemwide menus font; or

- use a stack menu instead of a button menu. A stack menu is an actual
stack window that you display as a menu and which behaves like a menu.
Creating one is a little more complicated than just entering menu items
into the button contents and letting the engine create the menu, but it
gives you more flexibility in layout.

Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development

More information about the use-livecode mailing list