Sign in Join
FPDoc Onlineexperiment

TValueListEditor.SetFixedRows procedure

Member of TValueListEditorprotectedIn unit ValEdit

Sets the value in the FixedRows property.

Declaration

pascal
procedure SetFixedRows(const AValue: Integer); override

Arguments

AValue

New value for the property.

Description

SetFixedRows is a procedure used to set the value in the FixedRows property. SetFixedRows is overridden in TValueListEditor to update the DisplayOptions for the control when the property value is changed.

AValue is the number of fixed rows to use for title captions in the control. No actions are performed in the method when AValue contains a value other than 0 or 1.

When AValue is 0, the value doColumnTitles is excluded from the DisplayOptions property. When AValue is 1, the value doColumnTitles is included in the DisplayOptions property.

Use TitleCaptions to set the title captions for columns at design-time. Use DisplayOptions to enable or disable title captions for the control.

See also

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