|
|
|
|
Re: how to dynamically make visible true or false in menu [message #503467 is a reply to message #503364] |
Sat, 16 April 2011 00:01 |
|
coder
Messages: 13 Registered: February 2011 Location: United States
|
Junior Member |
|
|
Littlefoot wrote on Fri, 15 April 2011 00:11It means that SET_MENU_ITEM_PROPERTY (that works OK, as you said in your first message) should be enclosed into IF-THEN-ELSE statement.
Littlefoot, I think I am not able to explain the situation clearly.
Let me try again: By writing "Its working fine when I am trying to enable or disable the same but I have to do it the desired way..."
I meant was when I am writing the code :SET_MENU_ITEM_PROPERTY('mymenu.menu_name',Enabled,PROPERTY_TRUE);
for a set of people enclosed in- if and else, I am able to get the menu enabled for the specified people and disabled for rest. But I want to make the menu visible for specific people and invisible for all instead of enabling or disabling.
when I am trying the code written in my first post in this thread I am not able to do so.
I think I am more clear now. Please guide how could this can be achieved or is it a limitation of forms.
|
|
|