Buttons of type LINKLABEL
- Last UpdatedNov 01, 2022
- 1 minute read
The Linklabel, provides a purely textual button presentation, as in, it has no enclosing box. It is often used to indicate a link to some application item, for example, a hyperlink to a file, a link to an associated form. They do cause validation of any modified text fields of the form whenever they are pressed.
The tag text is shown in a different color to all other gadget's tag text. The link label gadget highlights by underlining when the mouse cursor passes over it. Pressing it causes a SELECT event to be raised and runs any associated call back.
Linklabels have the following restrictions:
-
They don't support change of background color.
-
They don't support 'pressed' and 'not pressed' value.
-
They can have popup menus, though this is not recommended.
-
They don't have Control Types, for example, OK, CANCEL, and so on.
The sub-type of any Button gadget can be queried using the it's Subtype method.