GetPropertyD() Function
- Last UpdatedJul 25, 2024
- 1 minute read
Reads a discrete property in a wizard and returns a success code.
Syntax
result = GetPropertyD (controlname.property, dtag)
Parameters
controlname
The name of a wizard that supports properties. A literal string value, message tagname, or string expression.
property
The discrete property of the wizard that is to be read. Together with controlname can be a literal string value, message tagname, or string expression.
dtag
The discrete tagname that will receive the discrete property value.
Return Value
An integer error code. For more information about the error codes, see Understand windows controls error messages.
Example(s)
With a checkbox wizard Checkbox1 and a discrete tagname dtag you can check the visibility of the checkbox with the following script function:
result=GetPropertyD("Checkbox1.visible",dtag);
This script sets dtag to 1, if the checkbox wizard is visible; otherwise, it sets dtag to 0.