Skip to main content

TdxRichEditSearchDirection Enum

Enumerates available search directions.

Declaration

TdxRichEditSearchDirection = (
    Forward,
    Backward
);

Members

Name
Forward
Backward

Remarks

Options include:

Value Description
Forward A text search routine progresses through the target document range from its start to end.
Backward A 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