Skip to content

ToggleBold - cRichEdit

Toggles selected text between bold and normal text

Type: Procedure

Syntax

Procedure ToggleBold

Call Example

Send ToggleBold

Description

Toggles selected text between bold and normal text.

This message is provided to allow toggling of selected text between bold and normal (non-bold) text. It toggles pbBold between True and False. It is fired via the predefined shortcut key Ctrl+B.

You can use the message to fire toggling of the selected text between bold and normal text, for example, by calling it from a toolbar button.

Sample

This sample toggles the selected text of control oRichEdit1 between bold and normal text.

send ToggleBold of oRichEdit1