.Caption Dotfield
- Last UpdatedJul 25, 2024
- 1 minute read
Determines the message to be displayed with the checkbox.
Category
windows control
Usage
[ErrorNumber=]GetPropertyM ("ControlName.Caption", Tagname);
[ErrorNumber=]SetPropertyM ("ControlName.Caption", "Message");
Parameters
ControlName
Name of the windows control. For example, ChkBox_4.
Tagname
A message tagname that holds the property requested.
Message
A message string surrounded in quotes.
Remarks
This property is read/write during both development and run time.
Data Type
Message (read/write)
Applies To
Checkboxes.
Example
This statement sets the caption of the checkbox object "CheckBox_1" to "Blue Paint Option."
SetPropertyM("CheckBox_1.Caption","Blue Paint Option");
See Also
GetPropertyM(), SetPropertyM()