TSRichViewEdit.NextCurItem

Top  Previous  Next

Selects the next item of one of the specified styles (types).

function NextCurItem(StyleNo: array of Integer) : Boolean;

StyleNo – a list of styles (types) for searching. If this array is empty, this method searches for any item.

The search is started from the next item after the caret position (RichViewEdit.TopLevelEditor.RVData, RichViewEdit.TopLevelEditor.CurItemNo).

If an item is found, the method selects it and returns True.

This method can be used for the command "Find Picture" and "Find Table" in the horizontal toolbar.

See also:

PriorCurItem


ScaleRichView © trichview.com