Font color of a clicked hyperlink

speakers_86

Registered User.
Local time
Today, 17:17
Joined
May 17, 2007
Messages
1,919
When you click a hyperlink, can anyone tell me what color the text turns? I have a label with an on click event, and I am trying to make it act like a hyperlink.
 
You don't need to strugle with the Color Codes to make the Label look like a Hyperlink.

1. Create a Macro with a single Action: Beep and save it with the name BellMac.
2. Attach the Macro to the Hyperlink SubAdress Property like Macro BellMac.

The Label will look and behave like a Hyperlink. When you click on the Label the Click Event Procedure will run to do what you have programmed there with a Beep sound.
 
Lables have a Hyperlink Address property [on the Format tab] that you can set to a http://www.msn.com/ address which will open the web site when the label is clicked. The label will change to the users default color for a visited web site.
 
You don't need to strugle with the Color Codes to make the Label look like a Hyperlink.

1. Create a Macro with a single Action: Beep and save it with the name BellMac.
2. Attach the Macro to the Hyperlink SubAdress Property like Macro BellMac.

The Label will look and behave like a Hyperlink. When you click on the Label the Click Event Procedure will run to do what you have programmed there with a Beep sound.

Will that change the color of the text after it is clicked?

Lables have a Hyperlink Address property [on the Format tab] that you can set to a http://www.msn.com/ address which will open the web site when the label is clicked. The label will change to the users default color for a visited web site.

The label is only opening up a form inside the db. I don't want to use the hyperlink address because, well, I don't remember. I had some legitimate reason to not use that property.

I will look later today to see why I didn't want to do it.
 
If you want greater flexibility then you should be looking to code it in the click event and using an API to change the cursor to the mouse hand, plus using the FollowHyperlink method.
 

Users who are viewing this thread

Back
Top Bottom