Print Page | Close Window

Strike ReportRecordItem's text

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=9654
Printed Date: 16 July 2025 at 4:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Strike ReportRecordItem's text
Posted By: Vladimir
Subject: Strike ReportRecordItem's text
Date Posted: 21 February 2008 at 7:31am
Hello,

how can I strike ReportRecordItem's text after itemCheck?

thanks!



Replies:
Posted By: joeliner
Date Posted: 21 February 2008 at 10:36am
Hi,

try place this code in BeforeDrawRow Event;

Metrics.Font.Strikethrough = IIf((Row.Record(COLUMN_WITHCHKBOX).Checked = False), False, True)

regards,



Posted By: Vladimir
Date Posted: 21 February 2008 at 11:11pm
Hi joeliner, thanks for your reply.

But that not exactly what I need. This code will strike text staticly, but I need to strike/unstrike one after user's check/uncheck item.

Is it possible?


Posted By: joeliner
Date Posted: 22 February 2008 at 8:41am
Originally posted by joeliner joeliner wrote:



Metrics.Font.Strikethrough = IIf((Row.Record(COLUMN_WITHCHKBOX).Checked = False), False, True)



Did you replace COLUMN_WITHCHKBOX with the column in which you have the checkbox? this code is not static, (if i got u right), when user checks on checkbox column the particular item appears striked and on unchecked, its back to normal.

If need be, i can attach yu small project.

regards,


Posted By: Vladimir
Date Posted: 25 February 2008 at 12:30am
yes, could you send a little example?





Posted By: joeliner
Date Posted: 29 February 2008 at 5:40am
Hi,

uploads/20080229_053940_290208Sample.rar - uploads/20080229_053940_290208Sample.rar


Posted By: Vladimir
Date Posted: 14 March 2008 at 6:37am
Hi!

thanks a lot for your example.

Unfortunatelly I don't have VB, when i'm trying to do same in C# nothen heppens.

Could you do same in C# if it not very hard to you?

Thank you!

WBR,
Vladimir.


Posted By: joeliner
Date Posted: 14 March 2008 at 1:03pm
Hi!

sorry dont have C#.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net