Mousepointer for Column/Show URL in RC |
Post Reply |
Author | |
kylechen
Groupie Joined: 29 November 2004 Status: Offline Points: 57 |
Post Options
Thanks(0)
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 |
|
ianp
Moderator Group Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
Post Options
Thanks(0)
|
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... |
|
kylechen
Groupie Joined: 29 November 2004 Status: Offline Points: 57 |
Post Options
Thanks(0)
|
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.
|
|
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 |