Posted On: Thursday, December 6th, 2007 (Controls, Source Code)
Posted by: Paul Lefebvre

This is a subclass of the StaticText control that gives you the functionality of a hyperlink in your applications. To use it, simply drag the StaticLink control to your Window (you can find it in the Project Controls section of the control list). You can then set its behavior directly in the IDE Properties Editor. Properties include:

URL As String: specify the URL that you would like opened in the default browser when the link is clicked

LinkColor As Color: specify the color the link displays

HighlightColor As Color: specify the color the link displays when the cursor is over it

UnderlineLink As Boolean: Check this box (or set it to True in code) to have the link be underlined

This is a very simple control, but I find it to be very handy.

Download StaticLink Control

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

This entry was posted on Thursday, December 6th, 2007 at 1:15 pm and is filed under Controls, Source Code. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “StaticLink Control”

  1. Matt Gardner on June 7th, 2008 at 1:08 am

    Thanks Paul - excellent control and saved time.

Leave a Reply