change vissual attribute [message #175407] |
Fri, 02 June 2006 03:07 |
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 |
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);
|
|
|
|