FMX.Memo.Types.TFragmentDeleted.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function Create(const StartPos: Integer; const Fragment: string;
const Selected, CaretMoved: Boolean): TFragmentDeleted; static; inline;

C++

static TFragmentDeleted __fastcall Create(const int StartPos, const System::UnicodeString Fragment, const bool Selected, const bool CaretMoved);

Properties

Type Visibility Source Unit Parent
function public
FMX.Memo.Types.pas
FMX.Memo.Types.hpp
FMX.Memo.Types TFragmentDeleted

Description

Creates a new instance of TFragmentDeleted.

The Create method takes the following parameters.

Parameter Description
StartPos The position in the text where the fragment of text was deleted. On the TFragmentDeleted creation, the value of StartPos is assigned to the StartPos field.
Fragment Fragment of text deleted. On the TFragmentDeleted creation, the value of Fragment is assigned to the Fragment field.
Selected Indicates whether the selected text was removed. On the TFragmentDeleted creation, the value of Selected is assigned to the Selected field.
CaretMoved Indicates if the caret moved after the text was removed. On the TFragmentDeleted creation, the value of CaretMoved is assigned to the CaretMoved field.

See Also