Hi,
is it possible to controll Menu item list at runtime in form...for example if there are five menu item lists are there in one menu item control, i need to show only three of them by applying one condition at runtime....
.........solution appreciated..........
regards,
bala.
0
Comments
In some cases, when really needed, I create multiple 'Menu Button' instances...
Than you can play with the visible property of the button's to get '''dynamic Menu Button'''
(at least that is how it would seem for the user).
If you have no other options, and you go for this solution. Be sure not to put any specific code on the
menu item, place the code in a function, and reference this function from the different instances of
that menu item.
Why would you want to do that?
- in RTC configure roles so that f.e. people who are not supposed to post orders don't even see the button. This is not supposed to replace permissions etc. just to supplement it, making it more user-friendly.
- and RTC allows you to put any boolean variable or expression into the Visible property of the Action
- in Classic... well it has always been a problem, in some special cases it can be justified to "Save As" a form and simplify it down for a special user group. I mean ideas like Sales Invoice for POS, Purchase Order for Warehouse, Production Order for Shop Floor - removing everything but the most essential menu items, fields etc. etc.
FD Consulting