Returns the inner object hosted by the current element.
Type
Description
Object
A reference to inner ActiveX control.
The Object property returns nothing if element hosts no
ActiveX or creating it failed. The Object
property returns a reference to newly created control. The ExSurface control
fires the OLEEvent event if an
inside ActiveX control fires an event. Use the ElementFormat
property to specify the area where the inner control is displayed. The InsertControl
property adds a new Element object with the Type
set on exElementHostControl, and so it hosts an ActiveX inside. The Control
property returns the control's identifier.
The License property specifies the
runtime-license of the control. For instance, if the Control property is "Exontrol.Button",
the Object property returns a reference to an Exontrol.Button object. If the
Control property is "Exontrol.Grid" the Object property returns a
reference to an Exontrol.Grid object.
The following screen shot shows the Exontrol.Grid on the surface: