Show: Delphi C++
Display Preferences

Vcl.StdCtrls.TCustomListBox.IntegralHeight

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property IntegralHeight: Boolean read FIntegralHeight write SetIntegralHeight default False;

C++

__property bool IntegralHeight = {read=FIntegralHeight, write=SetIntegralHeight, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomListBox

Description

Determines whether the list box displays the partial items.

IntegralHeight controls the height of the list box itself.

When IntegralHeight is true, and the Style property is lsOwnerDrawFixed, the list box height will always be a multiple of the ItemHeight property value. In this case, items will never be partially displayed.

If IntegralHeight is false, the list box height can be set to any value, but the last item may not be fully displayed.

If the Style property value of the list box is lbOwnerDrawVariable, setting the IntegralHeight property to true has no effect.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance