Skip to content

ToggleItalics - cRichEdit

Toggles selected text between italicized and normal text

Type: Procedure

Syntax

Procedure ToggleItalics

Call Example

Send ToggleItalics

Description

Toggles selected text between italicized and normal text.

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

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

Sample

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

send ToggleItalics of oRichEdit1