SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the drop down portion's height.
Get
VB.NET | h = object.Height As Single |
VB | h = object.Height As Single |
C#.NET | float h = object.Height; |
VC++ | float h = object->Height; float h = object->GetHeight(); |
C | HRESULT object->get_Height(float* h); |
Put
VB.NET | object.Height = h As Single |
VB | object.Height = h As Single |
C#.NET | float object.Height = h; |
VC++ | float object->Height = h; void object->PutHeight(float h); |
C | HRESULT object->put_Height(float h); |
object
h
The desired height of the drop down portion. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.
The Height property defines the drop down portion's height.
The Height and DropDown.HeightPix properties are synonyms, but may use different coordinate systems.
The defined height is considered a maximum value. The height of the drop down portion may be smaller than defined if fewer items are available.
The actual height of the drop down portion can be found using the DropDown.GetPosition method.
The height defined using this property is used to determine the height of the drop down portion as it becomes visible. Once visible, it is no longer resized. This means that in a variable height combo box more than the defined number of items may become visible by scrolling vertically.
The DropDown.HeightItems property can be used to define the number of visible items instead of an explicit height. If the Height property is set, the HeightItems property is set to 0.
This property cannot be used with a simple combo box.
See Also SftBoxDropDown Object | Object Hierarchy