FieldLabel properties
A field label can be located on a validation form, a validation pane, a tab, or a group and has the following customizable properties:
- Enabled
-
Enables or disables the control. Enabled means that the user can select the element, for example to edit a field or button. Disabled displays the element grayed out and not accessible for the user.
- FieldName
-
Returns the name of the element. This property is read-only and cannot be changed.
- ResetForeColor
-
Resets the foreground color the label font back to the default value.
- SetForeColor
-
Sets the foreground color of the font for a validation form element.
SetForeColor(ByVal R As Long, ByVal G As Long, ByVal B As Long)
-
R - You can select a value for red within the range from 0 to 255.
-
G - You can select a value for green within the range from 0 to 255.
-
B - You can select a value for blue within the range from 0 to 255.
-
- Text
-
Returns the text of the field label element. This property is read-only and cannot be changed.
- Visible
-
Displays or hides the element on the validation form and pane.