So for the menu class is created as an object and you can add menu items with
menuObject.newMenuItem("File")
to add a sub menu you then have to do
menuObject.newSibMenuItem(0,"New")where 0 is the index of the menuItem it will come under
My question is, is it possible to code the class so that you could do
menuObject.menuItem("File").add
then
menuObject.menuItem("File").subitem("New")
thanks in advance
Edited by Jaan, 01 August 2009 - 07:06 AM.
Please use code tags when you are posting your codes!


Sign In
Create Account

Back to top









