
This method sets a property to a control.
Returns the following according to the situation:
Copy Code |
|---|
(Odcl_AxObject_SetPictureProperty MyOleObject [as OleObject] PropertyName [as String] PictureID [as Picture]) |
See the property of interest to know what string to pass.
Not all properties can be set.
Copy Code |
|---|
; Get the ActiveX object (Setq rObject (Odcl_AxControl_GetOleObject MyProject_MyForm_MyControl)) ; Change the property (Odcl_AxObject_SetPictureProperty rObject "SomeProperty" "Picture.bmp") ; Release the handle to the ActiveX (Odcl_AxObject_Close rObject) |