Hi,
I have a button with menu items into a form. Sometimes, i need to modify the "Visible" property by the code. There is no functions in CurrForm, or Controls for Access to something like that : MyButton.NameItem.Visible:=TRUE;
Or perhaps it's not possible ?
Please Help
Fred,
Beginner Navision Programmer :-k
0
Comments
Only solution is to create multiple menu-buttons on top of each other with the different combinations of menuitems. Then you can make one menu-button visible, and hide the other menu-buttons, using C/AL Code.
Drawback is of course you need to maintain multiple menu-buttons when new menuitems are added, and that you end up with multiple menu-buttons when various combinations of menuitems exists.
and the you find the control in the CurrForm.MenuButton.VISIBLE properties.
If you want to make the individual menu-items visible or not visible, you need the approach as discussed before.
It's my real problem : I can't see the individual menu item
There is only the main button in Currform\
And no individual items in CurrForm\MyButton\....
I wonder if it's reallly possible....
Fred
Is there a bug in the version FR 5.00 ?
So there is no solution other create many buttons and only set visible the correct one ?
Does each menu-button has a value in the Name-property (with other words: does each menu-button has a name assigned)?
Thanks.
RIS Plus, LLC