Sign in Join
FPDoc Onlineexperiment

TValueListEditor.AdjustRowCount procedure

Member of TValueListEditorprotectedIn unit ValEdit

Sets the number of visible rows for the control.

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.