SET_ITEM_PROPERTY Resets Foreground Color
583904Apr 30 2008 — edited Apr 30 2008I 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?