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!

SET_ITEM_PROPERTY Resets Foreground Color

583904Apr 30 2008 — edited Apr 30 2008
I have a label on a form that I am trying to hide/unhide. The text is red. Everytime I hide it and unhide it, the text becomes black and it won't let me change it to red.
SET_ITEM_PROPERTY('rollover.UNDES_LBL',VISIBLE,PROPERTY_FALSE);

SET_ITEM_PROPERTY('rollover.UNDES_LBL',VISIBLE,PROPERTY_TRUE);
SET_ITEM_PROPERTY('rollover.UNDES_LBL',FOREGROUND_COLOR,'r255g0b0');

I had set the default foreground color to red, the last line of code should be unnecessary. As things are now, it is ignored.
How can I fix this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2008
Added on Apr 30 2008
8 comments
4,053 views