Retrieves the item's ActiveX object, if the item was previously created by
InsertControlItem property, or the original object being used when calling the
InsertObjectItem property.
Type | Description | |||
Item as HITEM | A long expression that indicates the item's handle that was previously created by InsertControlItem or InsertObjectItem property. | |||
Variant | An object that represents the ActiveX hosted by the item |
The ItemObject retrieves the ActiveX object being created by the InsertControlItem method, or the object being hosted when using the InsertObjectItem property. Use the ItemControlID property to retrieve the control's identifier. Use the ItemHeight property to specify the item's height. If the item hosts an ActiveX control, the ItemHeight property specifies the height of the ActiveX control also.