TCustomRichView.SelectionHandlesVisible

<< Click to display table of contents >>

TCustomRichView.SelectionHandlesVisible

Shows or hides selection handles for using on touch screens.

property SelectionHandlesVisible: Boolean;

(introduced in version 15)

This property exists when the component is compiled in Delphi 2010 or newer.

By default, selection handles are shown if the selection was created by a double or a triple tap (double tap selects a word, triple tap selects a paragraph). They are hidden automatically when the selection becomes empty.

You can use this property to show or hide handles manually. Assigning True to this property can show handles even if a selection is empty.

For example, if you want to show handles even on a single tap, assign SelectionHandlesVisible=True in OnRVMouseUp, if ssTouch is included in the Shift parameter of this event.

Default value:

True

See also properties of TRVStyle:

SelectionHandleKind