rvico TRichView Reference | TRichViewEdit | TRVSmartPopupProperties

TRVSmartPopupProperties.ButtonType

Top  Previous  Next

Defines how popup buttons look like in hot (under the mouse pointer) state.

type

  TRVSmartPopupType = (rvsptDropDown, rvsptShowDialog, rvsptSimple);

property ButtonType: TRVSmartPopupType;

Note: TRVSmartPopupType is defined in RVScroll unit.

Type

Meaning

Example

rvsptDropDown

Button width is increased, a triangle is shown. Recommended for buttons displaying menu or popup windows.

sp_triangle

rvsptShowDialog

Button width is increased, an ellipsis is shown. Recommended for buttons displaying dialogs.

sp_3dots

rvsptSimple

Button width is not changed. Recommended for buttons executing an immediate command.

sp_simple

You can change this property in TCustomRichViewEdit.OnCaretMove (to create the proper button for the item at the position of caret)

Default value:

rvsptDropDown


TRichView © trichview.com