|
#1
|
||||
|
||||
|
I think it cool that you can now very easily add menus to your project...
but in the help section under the "How do I..." I really miss a bit on these menues. I can create the menu I (if I got it right) figured out that you have to call til application.getmenu() to have the menu indexed into a table. But I cant find any actions that will let me assign a value to thise indexed numbers for eksample if I have en menu item called "Files" and under that a submenu item called "exit" When I create the menu i give the "files" menu the ID 1 and the "exit" ID 2 When indexed into the table the "files" menu get index -1 (to indicate no funktionallety) and the exit then gets indexed as 2 but what then? I can call the index number from the table but how do i asign a "when clicked" action to it? Or have I completely missed the point and are at this time way off course???? help.... Jonas DK . o O (I love the new and improved AMS60) |
|
#2
|
||||
|
||||
|
Hello,
You have to use the On Menu event in your application to catch the menu id's: Code:
if e_ID == 1 then -- Menu ID was 1 elseif e_ID == 200 then -- Menu ID was 200 end |
|
#3
|
||||
|
||||
|
Quote:
And I have to set this on every page?? But then what is the application "on Menu" tab in the project menu then? Last edited by Jonas DK; 09-19-2005 at 12:44 PM. |
|
#4
|
||||
|
||||
|
No, there's a project-wide On Menu event (Project > Actions > On Menu).
|
|
#5
|
||||
|
||||
|
Quote:
Jonas DK |
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
Quote:
So does this mean that the Page On.menu events overrule the global on.menu events? |
|
#8
|
||||
|
||||
|
Like any other action which cancels a previous one.
Example: a=1; a=2; Yossi |
|
#9
|
||||
|
||||
|
Quote:
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 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 |
| Have a file execute then go to the menu upon startup...? | Dog | AutoPlay Menu Studio 3.0 | 2 | 05-10-2000 03:56 PM |
| Press Release: AutoPlay Menu Studio 2.0 | Ted | Announcements & News | 0 | 01-31-2000 11:10 AM |
All times are GMT -6. The time now is 08:17 AM.








Linear Mode

