Page 1 of 1
Visual Designer and #MENU_n
Posted: Wed Aug 31, 2005 5:19 pm
by CONVERT
Hello,
Would it be possible to modify the properties of each sub-item of the menu in Visual Designer?
Instead of:
Code: Select all
#MENU_1
#MENU_2
#MENU_3
#MENU_4
#MENU_5
#MENU_6
#MENU_7
I would prefer to obtain this:
Code: Select all
#MENU_New
#MENU_Open
#MENU_Save
#MENU_Save_as
#MENU_Quit
#MENU_Help_etc
#MENU_About
For that, Visual Designer would let me modifying the #MENU_n for each item.
Just a suggestion...
Thanks,
Jean.
Posted: Thu Sep 01, 2005 7:39 pm
by Berikco
That is already in the VD from the first release.
Just look in the menubar editor next to "ID"
Posted: Fri Sep 02, 2005 5:07 pm
by Jellybean
I think he means to get it automatically from the menu text?
Posted: Fri Sep 02, 2005 6:22 pm
by CONVERT
The following screen as shown in this hard-copy:
creates the following code:
Code: Select all
;- MenuBar Constants
;
Enumeration
#MenuBar_0
EndEnumeration
Enumeration
#MENU_1
#MENU_2
#MENU_3
#MENU_4
#MENU_14
#MENU_8
#MENU_18
EndEnumeration
So, I can change #MenuBar_0 in the ID field as shown in the hard-copy.
But I can not change the #MENU_1 #MENU_2 etc. etc.
In VD, I am not able to make appear #MENU_1 in the ID field to modify it.
So, I modify it in the generated code, but after, I must do it again each time I use VD to modify anything else and to create a new code.
Posted: Fri Sep 02, 2005 6:59 pm
by Berikco
This is in the VD from the very first release.........realy..please just take your time to find it, it's realy not that difficult.......
Just look in the
menuBar Editor
Select the
menuitem, and change the
#Menu_xxx to whatever you want...

Posted: Sat Sep 03, 2005 2:07 pm
by CONVERT
Sorry, Berrikco, and thank you very much.
I was locked on the other ID field and on the tree in the objects viewer.
I closed the menu editor once I made the menu, and after, I did not think to reactivate it.
Thanks,
Jean.