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!

Cannot enable the text item after disable it in Forms 6i

67664Dec 19 2002 — edited Dec 26 2002
Hi All,
I want to enable/disable the text items depending on the value of the radio group. Since the text items and the radio group are on different tab page, so I place the following code on the WHEN-TAB-PAGE-CHANGED trigger, to do this:
if :recordgroup ='P' then
set_item_property(item1, ENABLED,PROPERTY_TRUE);
set_item_property(item1, NAVIGABLE,PROPERTY_TRUE);
elsif :recordgroup ='K' then
set_item_property(item1, ENABLED,PROPERTY_FALSE);
set_item_property(item1, NAVIGABLE,PROPERTY_FALSE);
end if;

When recordgroup is 'K', item1 is disabled, then when recordgroup has changed to 'P', item1 is still disabled.
Both recordgroup and items are database items.

How come like this?

Thanks is advance,
Vanessa
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 23 2003
Added on Dec 19 2002
5 comments
846 views