RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSelectOptionsColumn.DisplayRows Property

Specifies the number of rows that appear in the generated list box.

Pascal
property DisplayRows: Integer;
C++
__property int DisplayRows;

Use DisplayRows to specify how many rows appear in the generated list control. If DisplayRows is less than the number of items, the generated list displays only DisplayRows options at one time, but can scroll to display the hidden items. If DisplayRows is 1, the generated control becomes a drop-down list box. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!