Hyperlink Hover
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=6622
Printed Date: 08 September 2024 at 12:40pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Hyperlink Hover
Posted By: jcollier
Subject: Hyperlink Hover
Date 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!
|
Replies:
Posted By: sserge
Date 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
|
Posted By: jcollier
Date 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.
|
Posted By: sserge
Date 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
|
Posted By: jcollier
Date 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!
|
|