Sign in Join
FPDoc Onlineexperiment

TValueListEditor.InvalidateCachedRow procedure

Member of TValueListEditorprotectedIn unit ValEdit

Resets the last edited row number for the control.

Declaration

pascal
procedure InvalidateCachedRow

Description

InvalidateCachedRow is a procedure used to invalidate the internal member variable used to track the last row edited in the control. When Strings contains data, the internal tracker is set to -1. When Strings has no data (length is 0), the internal tracker defaults to the first visible non-fixed row. The editing buffers for both the key and value are cleared.

InvalidateCachedRow is called when the TValueListStrings instance in Strings performs Add, Delete, Insert, and Sort operations.

See also

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