Object

concerns

 

Type

Read/Write

Type-less COM reference

Yes/No

 

With the property Object a COM reference to the control managed by the control container can be retrieved.

Example:

In a form with name F1, there is a control with the name Button1. Use the following code, if you like to get the background color of the control:

 

Dim Button As TCEControls.Button

 

Button := F1.Button1.Object

 

MsgBox(Button.BackColor)