|
#1
|
||||
|
||||
|
EXAMPLE: Basic Menu Functionality
Hello,
This example illustrates how to perform basic tasks with the menu bar in any AutoPlay Media Studio 6.0 application. Skills Used: Enable and Disable items, Menu Bar, Functions, On Menu event, Menu ID's, Tables. |
|
#2
|
||||
|
||||
|
Great example, Desmond!
A couple questions: What syntax should be used for sub-sub menus? Is there an efficient way to change the state of a given menu item with an OnMenu event and populating the menu bar through the Project>Menu Bar dialog? |
|
#3
|
||||
|
||||
|
Thanks!
For sub-sub menu's, just expand the table logic: Code:
-- Initialize sub sub item tables
tMenu[1].SubMenu[1].SubMenu = {}
-- Create sub sub menu
tMenu[1].SubMenu[1].SubMenu[1] = {ID = 1011, Text = "Sub Sub Item 1", Enabled = true, Checked = false};
Hope that helps! Does anyone else have any different menu-interaction techniques that'd be of interest? |
|
#4
|
||||
|
||||
|
Hello,
I've just posted an example function to this forum: http://www.indigorose.com/forums/showthread.php?t=13244 That should allow you to change the properties of an item you create through the Project > Menu Bar dialog, using just it's ID. |
|
#5
|
||||
|
||||
|
I'm a chinese AMS user, and for recent days I'm have been puzzled by the menu item state with the built-in function--"g_OnUpdateMenuEnabled (number CommandID, table ItemInfo)".
Thanks to your guilding example, I think I can handle it smoothly later on, but what the function above is used for? Last edited by Rhett; 11-10-2005 at 01:28 PM. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dependency Module: Visual Basic 6.0 (SP6) | Darryl | Setup Factory 8.0 Examples | 0 | 09-02-2004 12:48 PM |
| INFO: Visual Basic 6.0 (SP5) Runtime Notes | Desmond | Setup Factory 6.0 Knowledge Base | 0 | 11-28-2003 11:30 AM |
| INFO: Visual Basic 5.0 (SP3) Runtime Notes | Desmond | Setup Factory 6.0 Knowledge Base | 0 | 11-28-2003 11:29 AM |
| TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0 | Support | AutoPlay Menu Studio 3.0 | 0 | 10-10-2002 03:39 PM |
| FAQ: AutoPlay Menu Studio 3.0 Frequently Asked Questions | Support | AutoPlay Menu Studio 3.0 | 0 | 10-10-2002 02:15 PM |
All times are GMT -6. The time now is 09:51 PM.








Linear Mode

