Print Page | Close Window

Mousepointer for Column/Show URL in RC

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=3550
Printed Date: 28 April 2024 at 11:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Mousepointer for Column/Show URL in RC
Posted By: kylechen
Subject: Mousepointer for Column/Show URL in RC
Date Posted: 23 January 2006 at 10:16pm

Is there any way to set different mouse pointer for each column in report control? Sometimes we need to display URL in report that can be click. It's better to display a "Hand" pointer.

And any easy implementation for this kind of requirement - I mean show some column as URL (underline, blue font and when moving mouse over it will be shown as "hand" shape, and ready for click...)

Thank you very much




Replies:
Posted By: ianp
Date Posted: 24 January 2006 at 10:18am

Displaying/Formating the URL as a link is the easy part - you can do this in the BeforeDrawRow event by setting the Metrics properties if the Item is in the column containing your URL.

I have had less success displaying the "Hand" cursor and haven't tried since v 9.6 (!?!?). However it should be possible using the MouseMove event and the HitTest method to ascertain the position of the cursor. If it is over an item in the URL Column, display the "Hand" otherwise display the default cursor.

Sorry for no code samples - I'm not at a pc with the controls installed right now. If you need I can post examples...



Posted By: kylechen
Date Posted: 24 January 2006 at 7:52pm
Thank you for your reply, ianp. I believe this is a way that can work out by now. I have posted a new feature request for that. Wish it be implemented from the control side in next release.



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