ComponentOne List 8.0 for ActiveX
RowHeight Property

 

RowHeight Property

This property returns or sets the height of all control rows in terms of the coordinate system of the control's container.

Syntax

object.RowHeight= single

Remarks

Read/Write at run time and design time.

Property applies to TDBList and TDBCombo controls.

The RowHeight property accepts a floating point number from 0 to 10,000. The default value depends upon the character height of the current font.

A setting of 0 causes the control to readjust its display so that each row occupies a single line of text in the current font. Therefore, the following statements will set the row height so that exactly two lines of text are shown in each row:

TDBList1.RowHeight = 0

TDBList1.RowHeight = TDBList1.RowHeight * 2    

If the control's AllowRowSizing property is set to True, then the user can adjust the RowHeight property at run time by dragging the row divider at the left edge of the control.

Note: Increasing the RowHeight property does not wrap cell text at column boundaries unless the column's WrapText property is True.

See Also

TDBList and TDBCombo Controls

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback