FMX.Memo.Style.TEditAction.Length

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

Length: Integer;

C++

int Length;

Properties

Type Visibility Source Unit Parent
field public
FMX.Memo.Style.pas
FMX.Memo.Style.hpp
FMX.Memo.Style TEditAction

Description

Represents the length of the text that has been inserted in the operation described by the current object.

Length stores the length (in characters) of the text inserted in the operation described by the current object.

RollBackAction uses Length so that it can back down an insert operation, therefore deleting the text that has been inserted. For an insert operation, the text is specified by the position of the first character and by the length of the text.

Note: Length is used only for insert operations. Length is not relevant for a delete operation.

See Also