.ReadOnly Dotfield
- Last UpdatedNov 07, 2016
- 1 minute read
Determines whether the content of the text box is read-only or read/write.
Category
windows control
Usage
[ErrorNumber=]GetPropertyD("ControlName.ReadOnly", Tagname);
Parameters
ControlName
Name of the windows control. For example, Textbox_1.
Tagname
A discrete tagname that holds the property value when the function is processed.
0 = Contents of the text box is read/write
1 = Contents of the text box is read-only
Remarks
This property is available in both development and run time.
Data Type
Discrete (read-only)
Applies To
Text boxes.
Example(s)
The following statement retrieves the read-only status of the Text box named "TextBox_1":
GetPropertyD("TextBox_1.ReadOnly",A_Tagname);
See Also
GetPropertyD(), SetPropertyD()