
This method returns the value of a control property.
Returns the following according to the situation:
Copy Code |
|---|
(Odcl_AxObject_GetProperty MyOleObject [as OleObject] PropertyName [as String]) |
See the property of interest to know what string to pass.
Copy Code |
|---|
; Get the ActiveX object (Setq rObject (Odcl_AxControl_GetOleObject MyProject_MyForm_MyControl)) ; Get the control property (Setq rValue (Odcl_AxObject_GetProperty rObject "SomeProperty")) ; Release the handle to the ActiveX (Odcl_AxObject_Close rObject) |
AxObject_SetColorProperty, AxObject_SetPictureProperty, AxObject_SetProperty