![]() |
Strike ReportRecordItem's text |
Post Reply
|
| Author | |
Vladimir
Newbie
Joined: 08 October 2007 Location: Russian Federation Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: Strike ReportRecordItem's textPosted: 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 |
Post Options
Thanks(0)
Quote Reply
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, |
|
![]() |
|
Vladimir
Newbie
Joined: 08 October 2007 Location: Russian Federation Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
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? |
|
![]() |
|
joeliner
Senior Member
Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 February 2008 at 8:41am |
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 February 2008 at 12:30am |
|
yes, could you send a little example?
|
|
![]() |
|
joeliner
Senior Member
Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 February 2008 at 5:40am |
![]() |
|
Vladimir
Newbie
Joined: 08 October 2007 Location: Russian Federation Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
joeliner
Senior Member
Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 March 2008 at 1:03pm |
|
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 |