ImageEn, unit iesettings

TIEImageEnGlobalSettings.RichEditorToolbar

TIEImageEnGlobalSettings.RichEditorToolbar


Declaration

property RichEditorToolbar: TIERichEditToolbarParams;


Description

Specifies properties of the Rich Editor toolbar.

The Rich Editor toolbar appears over a TIERichEdit if AutoToolbar is True.
It appears when editing formatted text of TIETextLayer if loShowRichTextToolbar has been added to LayerOptions
These properties are also used as the default for the TIERichEditToolbar.




Examples

// Show a hover toolbar when editing text
IEGlobalSettings().RichEditorToolbar.Position := iepAbove;
IERichEdit1.AutoToolbar := True;

// Hide buttons for Bullets and Numbering
IEGlobalSettings().RichEditorToolbar.Buttons := IEGlobalSettings().RichEditorToolbar.Buttons - [irbRichEditBullets];

// Show toolbar with clipboard options when editing rich text of a TIETextLayer
IEGlobalSettings().RichEditorToolbar.Buttons := [irbRichEditClipboard];
ImageEnView1.LayerOptions := ImageEnView1.LayerOptions + [ loShowRichTextToolbar ];


See Also

- AutoToolbar
- RichEditorPopupMenu
- TextEditorPopupMenu
- ToolbarsAllowExtraControls