Can't set ENABLED attribute of non displayed item

To discuss Oracle Forms & Reports related technical issues.
Post Reply
Racleoay
Posts: 26
Joined: Thu May 08, 2008 8:20 am
Location: United Arab Emirates

Can't set ENABLED attribute of non displayed item

Post by Racleoay »

Hello Gurus:

I'm trying to hide a button in one of the customized forms. I set item.displayed=false. but whenever I run the form, I get the following error message:

<font color="red"><b>FRM-41033: Can't set ENABLED attribute of non displayed item ...</b></font id="red">


I tried to set the item.enabled=false then item.displayed=false but the same error appears again!

could anyone help me plzzzzz

thanks alot
haseebkhatri
Posts: 18
Joined: Fri Sep 19, 2008 1:11 am
Location: Pakistan

Post by haseebkhatri »

Kindly Use This Code:

SET_ITEM_PROPERTY('B1',ENABLED,PROPERTY_FALSE);

Make sure when form run ,B1 is not a current item.

B1 is a button Name:

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests