Back to Devexpress

TdxRichEditSearchDirection Enum

vcl-dxrichedit-dot-nativeapi-94e20da8.md

latest1.4 KB
Original Source

TdxRichEditSearchDirection Enum

Enumerates available search directions.

Declaration

delphi
TdxRichEditSearchDirection = (
    Forward,
    Backward
);

Members

Name
Forward
Backward

Remarks

Options include:

ValueDescription
ForwardA text search routine progresses through the target document range from its start to end.
BackwardA text search routine progresses through the target document range in the opposite direction, towards the range start.

The IdxRichEditSubDocument interface’s first overloaded StartSearch function variant accepts a TdxRichEditSearchDirection value as the ADirection optional parameter.

Note

TdxRichEditSearchDirection is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxRichEditSearchDirection.Forward (in Delphi) or TdxRichEditSearchDirection::Forward (in C++Builder) to refer to the Forward value in code.

See Also

dxRichEdit.NativeApi Unit