How can I dynamically change background color?
I created a procedure that changes the background color of an item using SET_ITEM_PROPERTIES:
IF (sw = 0) THEN
SET_ITEM_PROPERTY('CNV.EDIT', BACKGROUND_COLOR, 'white');
ELSIF (sw = 1) THEN
SET_ITEM_PROPERTY('CNV.EDIT', BACKGROUND_COLOR, 'red');
END IF;
When I run the form the above code is executed, but the background color does not change.
Should this code work in 11g? Or, am I missing a command to redraw the form?