Creating sub-menus a la the inspector?

Eric Chatonet eric.chatonet at sosmartsoftware.com
Sat Oct 29 05:07:01 EDT 2005


Hi Jim,

If I understand correctly your question, you want to build a menu  
with sub-menus (a hierarchical menu).
That's easy using tabs you place in front of menu items to specify  
they are sub-menu items.
With this method, you can build hierarchical menus including as many  
rows as you need.
You will build your menu on-the-fly at mouseDown in the way you want  
according to the number of items you have to display :-)
Have a look at my "How to Build and Manage Dynamic Menus" available  
from Tutorials Picker to get started:

. How to build on-the-fly a menu with sub-menus from an outline  
stored into a custom property.
. How to add contextual items, checkmark, activate or disable menu  
items, etc.
. How to respond to the user's actions: choosing a menu item, using a  
keyboard shortcut, etc.

Tutorials Picker is available from my website (Revolution > Plugins)  
or Rev Online (user: So Smart Software)

Best Regards from Paris,
Eric Chatonet.

Le 29 oct. 05 à 05:07, Jim Hurley a écrit :

> How would one go about creating those sub-menus in an option menu  
> (or whatever) that appear in the inspector when there are more  
> then  20 menus or fields etc.?
>
> Jim

----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list