ReportControl: RowClick or ItemClick |
Post Reply |
Author | |
ianp
Moderator Group Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
Post Options
Thanks(0)
Posted: 11 May 2005 at 7:17am |
Can a RowClick or ItemClick event be added to the report control? Here's my scenario: When a user double clicks on a row in my report control, it opens a form displaying the data for that record from the RowDblClick event. Perfect! The report control contains an email column and a website column. The BeforeDraw event changes the font used to display the items in these columns to mimic a hyperlink. So that the hyperlinks function (and in the absence of any Click events) I've added the functionality to open an email or webpage from the MouseDown event which works, almost nicely. However, now if the user double clicks on the email or url, both the MouseDown and the RowDblClick event fire. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
If we add RowClick anyway it will be fired with RowDblClick. So I think you can add If in your RowDblClick to check if it is not email column and a website column |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |