Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Hyperlink Hover
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hyperlink Hover

 Post Reply Post Reply
Author
Message
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post Topic: Hyperlink Hover
    Posted: 12 March 2007 at 12:06pm
I have a report control (10.4.2 with VB6) set up with 2 columns.  The first column just has an Icon.  The second column has a string set up as a hyperlink.

Is there an easy way to tell the report control to highlight and/or underline the item in column 2 when the mouse hovers over it?

Thanks!
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2007 at 5:09pm
Hi,

Yes, look into Hyperlinks collection and AddHyperlink method. When adding a second item, setup its contents as a hyperlink by calling something like:
pItem.Hyperlinks.AddHyperlink 1, Len(your_string)

There is a piece of corresponding sample functionality in our VB ReportSample.

--
WBR,
Serge
Back to Top
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2007 at 8:49am
I know how to set up the Hyperlink.  I have that working with no problem.   However, when holding the mouse over a hyperlink, it doesn't underline, highlight or change colors before the click.  I would like to give some graphical indication (other than the cursor change) to the user when the mouse goes over a hyperlink.
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 22 March 2007 at 6:45pm
Ok, I see now.

However, this is simply not implemented yet.

What is the preferable way of indicating?

--
WBR,
Serge
Back to Top
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post Posted: 26 March 2007 at 11:06am
My personal preference would be to have it underline AND change colors.  Maybe just add 2 boolean properties (1 for HoverUnderline and 1 for HoverChangeColor) and 1 property for the color allowing us to choose what happens and which color if HoverChangeColor = True?  That way we can choose any combination we prefer.

Thanks!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.172 seconds.