Home » Developer & Programmer » Forms » change vissual attribute
icon8.gif  change vissual attribute [message #175407] Fri, 02 June 2006 03:07 Go to next message
rakas22
Messages: 29
Registered: May 2006
Junior Member
hi all,

i have one item. in that user should enter a value and when he moves out, that item should become as display item and then vissual attribute also should be assaigned to that item at run time. its very urgent.

please help me.
Re: change vissual attribute [message #175419 is a reply to message #175407] Fri, 02 June 2006 03:54 Go to previous messageGo to next message
jowahl
Messages: 82
Registered: May 2006
Member
in WHEN-VALIDATE-ITEM trigger of the field set the desired attributes, e.g.

SET_ITEM_PROPERTY('<block.item>', VISUAL_ATTRIBUTE, <attribute_name>); -- for changing color, background, ...

SET_ITEM_PROPERTY('<block.item>', INSERT_ALLOWED, PROPERTY_FALSE);
SET_ITEM_PROPERTY('<block.item>', UPDATE_ALLOWED, PROPERTY_FALSE);

Re: change vissual attribute [message #175427 is a reply to message #175419] Fri, 02 June 2006 04:22 Go to previous message
rakas22
Messages: 29
Registered: May 2006
Junior Member
THANK YOU SO MUCH
IAM GETTING
Previous Topic: Forms 10g (10.1.2.0.2) and Oracle 8i ( 8.1.7.4)
Next Topic: Regarding Trigger
Goto Forum:
  


Current Time: Fri Sep 20 09:31:35 CDT 2024