Returns or sets a value indicating whether the control should resize to avoid showing partial items. Deprecated property.
Read-only at run-time. Default is True.
object.IntegralHeight = [boolean]
from version 11.0. Refer to Deprecated and Obsolete items for additional information.
Set this property to True if you want to prevent the display of vertically truncated text in the control.
This property is particularly relevant for the ListBox control, where you may wish to maintain the original size of your list box based on form layout requirements. If this is the case then set this property to False. Depending on the font used in the control and the size of your list, the bottom list item may be partially visible and only fully visible when the user scrolls the contents.
In the example below, the list box on the left has the IntegralHeight property set to False, which means that the size of the control is respected regardless of the contents of the list. The control on the right has the IntegralHeight property set to True, which means that the control has been resized at run-time to ensure that displayed list items are not vertically truncated.
List property (ComboBox) | List property (ListBox)
© 2004-2021 looksoftware. All rights reserved.