Menu disable/Enable [message #80509] |
Fri, 04 October 2002 19:32 |
Viswa
Messages: 8 Registered: October 2002
|
Junior Member |
|
|
I have a problem with Menu item being visible, when it shouldn't be. I will appreciate if some one can answer this for me.
I have the following code
When-New-Form-Instance
----------------------
Set_Menu_Item_Property('Search_Menu.Agent_Code', VISIBLE, PROPERTY_FALSE);
.....
.....
and then many other lines of code.
I have observed the menu item is not disabled. But when I incorporated MESSAGE just after the disable statement then it is working.
When-New-Form-Instance
----------------------
Set_Menu_Item_Property('Search_Menu.Agent_Code', VISIBLE, PROPERTY_FALSE);
MESSAGE('Dummy message...');
MESSAGE('Dummy message...');
......
......
and then many other lines of code.
But I do not want to insert the unnecessary message.
I tried with SYNCHRONIZE statement just after the Set_Menu_Item_Property statement, but no use.
Your reply to viswapsp@yahoo.com is highly appreciated.
Thanks
|
|
|
|