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.

 TypeDescription 
   Item as HITEM A long expression that indicates the item's handle that was previously created using InsertControlItem property.  
   Long A long expression that indicates the item's width.  

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. Use the CellWidth property to specify the width of the cell, when it contains inner cells. Use the SplitCell property to split a cell.

The ItemWidth property is interpreted like follows:

 


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