IWebFormComponent.Clipboard

Syntax

Clipboard: IWebClipboard;

Description

The Clipboard property returns web form clipboard.

Example

Executing the example requires that the repository contains a web form, the Button1 button on the web form, and the Input component named Input1.

Add links to the WebForms system assembly.

Class TESTWebForm: WebForm
    Input1: WebInput;
    Button1: WebButton;

    Sub Button1OnClick;
    Begin
        Self.Clipboard.Text := Input1.Text;
    End Sub Button1OnClick;
End Class TESTWebForm;

Clicking the button copies the text contained in the Input1 component to clipboard.

See also:

IWebFormComponent