Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Mousepointer for Column/Show URL in RC
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mousepointer for Column/Show URL in RC

 Post Reply Post Reply
Author
Message
kylechen View Drop Down
Groupie
Groupie


Joined: 29 November 2004
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote kylechen Quote  Post ReplyReply Direct Link To This Post Topic: Mousepointer for Column/Show URL in RC
    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

Back to Top
ianp View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 19 December 2003
Location: United Kingdom
Status: Offline
Points: 119
Post Options Post Options   Thanks (0) Thanks(0)   Quote ianp Quote  Post ReplyReply Direct Link To This Post 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...

Back to Top
kylechen View Drop Down
Groupie
Groupie


Joined: 29 November 2004
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote kylechen Quote  Post ReplyReply Direct Link To This Post 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.
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.203 seconds.