CreateMenu with Form Designer
Posted: Thu Sep 25, 2014 2:05 pm
Hello,
If I create a new form and add a menu to it via the Form Designer the following menu code is auto generated and it always uses the following command.
You have no way to alter the createmenu properties from within the forms designer as clicking on the menu in the form does not show any properties, only when you click an actual menu item.
Is there any way to avoid using 0 as the ID and use #PB_Any or a Enumeration variable?
I am only thinking out loud and wondering if using 0 will cause any ID issues later on with other gadgets (that might be auto assigned 0 ID) or other menus in other forms that will also be auto generated with 0 as the ID by the Forms Designer.
If I create a new form and add a menu to it via the Form Designer the following menu code is auto generated and it always uses the following command.
Code: Select all
CreateMenu(0, WindowID(Window_0))Is there any way to avoid using 0 as the ID and use #PB_Any or a Enumeration variable?
I am only thinking out loud and wondering if using 0 will cause any ID issues later on with other gadgets (that might be auto assigned 0 ID) or other menus in other forms that will also be auto generated with 0 as the ID by the Forms Designer.