Sign in Join
FPDoc Onlineexperiment

TValueListEditor.DeleteColRow procedure

Member of TValueListEditorpublicIn unit ValEdit

Deletes the column or row at the specified position.

Declaration

pascal
procedure DeleteColRow(IsColumn: Boolean; index: Integer)

Arguments

IsColumnTrue when a column is affected in the method.
index

Position of the row or column in the control.

Description

DeleteColRow is a procedure used to delete the column or row at the specified position.

IsColumn indicates whether the action is intended for a column or a row. Index is the ordinal position for the column or row removed in the method.

When IsColumn is True, the DeleteCol method is called. This results in an exception being raised in DeleteCol; columns cannot be removed in TValueListEditor. Otherwise, the DeleteRow method is called to remove the specified row number.

See also

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