Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Using SET_ITEM_PROPERTY to enable/disable push buttons

133200Jan 10 2002
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"
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 7 2002
Added on Jan 10 2002
2 comments
2,632 views