Menu bar help
Collapse
X
-
Hahaha, fast... every menu item as an ID, wich is specified in the Menu-settings dialog where you have set all the names... then go to the On Menu event of the app... so not the page's On Menu...
there you type (for example when Exit's ID is 6)
Code:if(e_ID==6)then Application.Exit(0); end
Comment
-
-
Originally posted by C B programming and webdesign View PostHahaha, fast... every menu item as an ID, wich is specified in the Menu-settings dialog where you have set all the names... then go to the On Menu event of the app... so not the page's On Menu...
there you type (for example when Exit's ID is 6)
Code:if(e_ID==6)then Application.Exit(0); end
Comment
-
-
Originally posted by ShadowUK View PostPost your project, Then we can help.
Comment
-
-
Man the menu you want to make is too easy the only thing you have to do is:
First: Make the menu context, you will have someting like this
>Menu ID 01
>Minimize ID 0101
>Close ID 0102
>Options ID 02
>Open ID 0201
>Run File ID 0203
each word has a menu ID but all have to have a different ID
You can put an ID choosing one of the words and click on properties then you put (if you want) a different ID after that you have to go to "project action" then you have 4 options
On startup/On Shutdown/On Size/"On Menu" <-- Choose this
And Write this script
if (e_ID == 0102) then
Application.Exit(0);
elseif (e_ID == 0101) then
Application.Minimize();
end
also you can find it in ams guide only write "Menu Bar" and you will have an example (step by step)
Comment
-
Comment