property Items.ItemWidth(Item as HITEM) as Long

Retrieves or sets a value that indicates the item's width while it contains an ActiveX control. /*not supported in the lite version*/

 TypeDescription 
   Item as HITEM A long expression  that indicates the item's handle.  
   Long A long expression that indicates the item's width, when the item contains an ActiveX control.  

By default, the ItemWidth property is -1. If the ItemWidth property is -1, the control resizes the ActiveX control to fit the control's client area. Use the ItemHeight property to specify the item's height. The property has effect only if the item contains an ActiveX control. Use the InsertControlItem property to insert ActiveX controls. Use the ItemObject property to retrieve the ActiveX object that's hosted by an item.

The ItemWidth property is interpreted like follows:

 

 


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.