Home » Developer & Programmer » Forms » if record cancel mark strikethrough
if record cancel mark strikethrough [message #183210] Wed, 19 July 2006 23:20 Go to next message
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 Go to previous messageGo to next message
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;

Re: if record cancel mark strikethrough [message #183585 is a reply to message #183369] Fri, 21 July 2006 07:53 Go to previous message
kamran.it
Messages: 265
Registered: September 2005
Location: Karachi
Senior Member
Thank You dear
Previous Topic: Transferring a text file from a windows PC to a Unix server
Next Topic: remove hardcode
Goto Forum:
  


Current Time: Fri Sep 20 08:39:29 CDT 2024