if record cancel mark strikethrough [message #183210] |
Wed, 19 July 2006 23:20 |
kamran.it
Messages: 265 Registered: September 2005 Location: Karachi
|
Senior Member |
|
|
have created form I want to some change that I created a check box CANCEL if check box click then record is cancelled, working fine.
there is any possibility when execute query, if record is cancelled, record show strikethrough in form.
|
|
|
Re: if record cancel mark strikethrough [message #183369 is a reply to message #183210] |
Thu, 20 July 2006 09:59 |
jowahl
Messages: 82 Registered: May 2006
|
Member |
|
|
1)
define a visual attribute with the desired appearence, e.g. "va_strikethrough".
2)
in POST-QUERY trigger of the block set the visual attributes for every item, if necessary, e.g.
BEGIN
IF :BLOCK.ITEM = 'cancelled' THEN
SET_ITEM_INSTANCE_PROPERTY('BLOCK.ITEM', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'va_strikethrough');
END;
|
|
|
|