New problem same idea

chefsride

Member
I want to make it so a menu option can not be displayed. When a user selects a certain radio set option there are buttons that become disabled but there is also a menu option that I want to disable as well. Can anyone please help.
 
Try something like this in the VALUE-CHANGED trigger of the radio set:
Code:
ASSIGN menu-item m_Option:SENSITIVE IN MENU m_File = (SELF:SCREEN-VALUE EQ 1).

Or alternatively you can place code like this in the MENU-DROP trigger of the menu:
Code:
ASSIGN MENU-ITEM m_Option:SENSITIVE IN MENU {&SELF-NAME} = (Radio-set-1:SCREEN-VALUE IN FRAME {&FRAME-NAME} EQ "1":U).
 
Back
Top