Browse DevX
Sign up for e-mail newsletters from DevX

Code Download

The URLLabel Control

Date: Aug 19, 2000
Author: Francesco Duranti
Description: This control is a label/picture with hyperlink functionality. All you've to do is to place URLLabel on a form, choose the style (Underline, NoUnderline, GotFocus, Graphic), the color or picture for non-visited, visited, mouseover status and the URL/Caption. You can also link the URL/caption text or display the URL as the ToolTipText of the control, and use the Execute method to manually launch the URL. The BeforeExecute event let you change the URL on the fly as well as cancel the operation. The AfterExecute event will be launched upon completion of the Execute event, if you didn't cancel it.

Click here to download the file.

Thanks for your registration, follow us on our social networks to keep up-to-date