HyperLink Class |
|
Namespace: VO
The HyperLink type exposes the following members.
| Name | Description | |
|---|---|---|
| Dispatch |
Provide the prototype dispatcher for events within the system when the control has focus; routing various events to their appropriate event handlers. (Overrides Dispatch(Usual).) | |
| OpenLink |
Is the method that is invoked whenever the mouse is clicked over the HyperLink control.
|
| The difference between the HyperLink and the SysLink classes is in the way that the text is used. In a HyperLink control, ALL of the text is passed as the hyperlink where as in the SysLink control you can mix display text and hyperlink text. Also, in the HyperLink control, ALL of the displayed text is passed through to the ShellExecute method and you must make sure that there is nothing in it which could cause this to fail. |
1oFont1 := Font{,8,"Microsoft Sans Serif"} 2oFont1:Underline := TRUE 3oHL1 := HyperLink{ SELF, -1, Point{190, 25 }, ; 4Dimension{0, 0 }, "http://www.grafxsoft.com" } 5oHL1:font := oFont1 6oHL1:size := Dimension{150,20} 7oHL1:textcolor := Color{ COLORBLUE } 8oHL1:font:underline := TRUE 9oHL1:Show( )