Buttons of type LINKLABEL
- Last UpdatedFeb 08, 2023
- 1 minute read
The Linklabel, provides a purely textual button presentation, that means, 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 colour 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 colour.
-
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
The sub-type of any Button gadget can be queried using the it's Subtype method.