pull down menu
Jeanne A. E. DeVoto
revolution at jaedworks.com
Thu Nov 10 19:58:06 EST 2005
At 2:23 PM +0100 11/10/2005, Dominik Hruza wrote:
>i just started working with the program designing the interface for
>an adressbook
>
>i want to get rid of the 3D effect in the menu of a pull down
>button, but set a background color and so on to the menu that
>appears.
If you want to specify the appearance yourself, rather than accept
the way the system draws the menu, you need to do one of two things:
- Set the lookAndFeel to something other than "Appearance Manager".
(This may not be a good choice, unless you want to completely control
every aspect of the application's appearance and not use the OS
appearance for anything.)
- Create a stack menu instead of using a button menu. A stack menu is
simply a stack that appears when you click a button, and that behaves
like a menu. Since you design the menu directly in a stack, you can
have complete control over its appearance, colors, fonts, etc.
There's some information about stack menus in the online docs, at the
bottom of the section on "About menus and the menu bar". There is
also an example in the "Menus" scripting conference stack, which you
can download from <http://support.runrev.com/scriptingconferences/>.
--
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com
More information about the use-livecode
mailing list