[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ValEdit' (#lcl)

TValueListEditor.AdjustRowCount

Sets the number of visible rows for the control.

Declaration

Source position: valedit.pas line 155

protected procedure TValueListEditor.AdjustRowCount; virtual;

Description

AdjustRowCount is a procedure used to set the number of visible rows for the control. AdjustRowCount uses the Strings property to get the total number of rows needed for the control, including the fixed caption row (if needed). When the value differs from RowCount, the Row and RowCount properties are updated.

AdjustRowCount is called from event handlers when values in Strings or TitleCaptions are changed, and when values are included in or excluded from DisplayOptions.

See also

TValueListEditor.Strings

  

Stores the keys, values, and item definitions in the control.

TValueListEditor.TitleCaptions

  

Title captions used for columns in the control.

TValueListEditor.DisplayOptions

  

Enables or disables display features and behaviors in the control.

TValueListEditor.RowCount

  

Gets the number of rows for the control.

TCustomDrawGrid.Row

  

Row number for the selected grid cell.


Version 4.0 Generated 2025-05-03 Home