A little help, please...
I am using multiple menus in my project and am having trouble getting the menus to execute using the Application.LoadScript.
I have built two menu scripts, one that loads the menu bar (this part is working fine) and one that executes (or rather doesn't ).
When I use the Application.LoadScript on the => Page=>"On Menu", it does not work. If I place the actual code on the =>Page=>"On Menu" it works.
Is it possible to load a menu script on the =>Page=>"On Menu" instead of placing the hard code on every page?
I am using multiple menus in my project and am having trouble getting the menus to execute using the Application.LoadScript.
I have built two menu scripts, one that loads the menu bar (this part is working fine) and one that executes (or rather doesn't ).
Code:
if (e_ID == 101) then -- Do anything elseif (e_ID == 102) then -- Do anything elseif (e_ID == 103) then -- Do anything elseif (e_ID == 104) then -- Do anything elseif (e_ID == 105) then -- Do anything elseif (e_ID == 201) then -- Do anything elseif (e_ID == 202) then -- Do anything end
Is it possible to load a menu script on the =>Page=>"On Menu" instead of placing the hard code on every page?
Comment