![]() |
Strike ReportRecordItem's text |
Post Reply ![]() |
Author | |
Vladimir ![]() Newbie ![]() ![]() Joined: 08 October 2007 Location: Russian Federation Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 21 February 2008 at 7:31am |
Hello,
how can I strike ReportRecordItem's text after itemCheck? thanks! |
|
![]() |
|
joeliner ![]() Senior Member ![]() ![]() Joined: 09 June 2006 Status: Offline Points: 273 |
![]() ![]() ![]() ![]() ![]() |
Hi,
try place this code in BeforeDrawRow Event; Metrics.Font.Strikethrough = IIf((Row.Record(COLUMN_WITHCHKBOX).Checked = False), False, True) regards, |
|
![]() |
|
Vladimir ![]() Newbie ![]() ![]() Joined: 08 October 2007 Location: Russian Federation Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
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? |
|
![]() |
|
joeliner ![]() Senior Member ![]() ![]() Joined: 09 June 2006 Status: Offline Points: 273 |
![]() ![]() ![]() ![]() ![]() |
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, |
|
![]() |
|
Vladimir ![]() Newbie ![]() ![]() Joined: 08 October 2007 Location: Russian Federation Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
yes, could you send a little example?
|
|
![]() |
|
joeliner ![]() Senior Member ![]() ![]() Joined: 09 June 2006 Status: Offline Points: 273 |
![]() ![]() ![]() ![]() ![]() |
![]() |
|
Vladimir ![]() Newbie ![]() ![]() Joined: 08 October 2007 Location: Russian Federation Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
joeliner ![]() Senior Member ![]() ![]() Joined: 09 June 2006 Status: Offline Points: 273 |
![]() ![]() ![]() ![]() ![]() |
Hi!
sorry dont have C#. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |