Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Strike ReportRecordItem's text
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Strike ReportRecordItem's text

 Post Reply Post Reply
Author
Message
Vladimir View Drop Down
Newbie
Newbie
Avatar

Joined: 08 October 2007
Location: Russian Federation
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Vladimir Quote  Post ReplyReply Direct Link To This Post Topic: Strike ReportRecordItem's text
    Posted: 21 February 2008 at 7:31am
Hello,

how can I strike ReportRecordItem's text after itemCheck?

thanks!
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post 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,

Back to Top
Vladimir View Drop Down
Newbie
Newbie
Avatar

Joined: 08 October 2007
Location: Russian Federation
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Vladimir Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post 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,
Back to Top
Vladimir View Drop Down
Newbie
Newbie
Avatar

Joined: 08 October 2007
Location: Russian Federation
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Vladimir Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2008 at 12:30am
yes, could you send a little example?



Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2008 at 5:40am
Back to Top
Vladimir View Drop Down
Newbie
Newbie
Avatar

Joined: 08 October 2007
Location: Russian Federation
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Vladimir Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2008 at 1:03pm
Hi!

sorry dont have C#.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.