
This method sets a property to a control.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_AxControl_SetProperty MyControlReference [as Reference] PropertyName [as String] PropertyValue [as Any]) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_AxControl_SetProperty ProjectFile [as String] DialogName [as String] ControlName [as String] PropertyName [as String] PropertyValue [as Any]) |
See the property of interest to know what string to pass.
Not all properties can be set.
Copy Code |
|---|
; Change the property (Odcl_AxControl_SetProperty MyProject_MyForm_MyControl "SomeProperty" T) |