Hyperlink Hover |
Post Reply |
Author | |
jcollier
Senior Member Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
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! |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
jcollier
Senior Member Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
|
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.
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Ok, I see now.
However, this is simply not implemented yet. What is the preferable way of indicating? -- WBR, Serge |
|
jcollier
Senior Member Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
|
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! |
|
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 |