TiEditCustom.PasteFromClipboard

TiEditCustom

Pastes the contents of the Clipboard into the iEdit control, replacing the current selection.

procedure PasteFromClipboard;

Description

Use PasteFromClipboard to replace the selected text with the contents of the Clipboard, or, if no text is selected, to insert the contents of the Clipboard at the cursor. If the Clipboard is empty, or if it does not contain anything in clear text format, PasteFromClipboard does nothing.

Example

Delphi

iComponent.PasteFromClipBoard;

C++ Builder

iComponent->PasteFromClipBoard();

Contents | Index | Previous | Next