Print Page | Close Window

ReportControl: RowClick or ItemClick

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2209
Printed Date: 17 November 2024 at 7:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ReportControl: RowClick or ItemClick
Posted By: ianp
Subject: ReportControl: RowClick or ItemClick
Date 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.




Replies:
Posted By: Oleg
Date Posted: 11 May 2005 at 11:16am

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



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