Using SET_ITEM_PROPERTY to enable/disable push buttons
I've created a form with push buttons and I've attached pop-up menus to these push buttons. Although I have no problem enabling/disabling the individual menu items in the pop-ups, I do have a problem with enabling and disabling the push buttons themselves.
Here's what I'm doing:
--* this line works ('CONSENSUS' is an individual menu item)
Set_Menu_Item_Property('MENU_HANDICAP.CONSENSUS', ENABLED, PROPERTY_TRUE);
--* this line doesn't work ('MENU_HANDICAP' is a push button)
Set_Item_Property('BLOCK_BTNS.MENU_HANDICAP', ENABLED, PROPERTY_FALSE);
The Oracle error is the following:
"Cannot set ENABLED attribute of current item BLOCK_BTNS.MENU_HANDICAP"