Xbasic

Clipboard

Description

Alpha Anywhere provides the following CLIPBOARD methods. Prefix each method with the CLIPBOARD keyword.

Name
Description
a5_showclipboard Function

Show the text currently on the clipboard.

Methods

CLIPBOARD.CLEAR_DATA Method

The CLIPBOARD.CLEAR_DATA() method clears the Windows Clipboard.

CLIPBOARD.GET_DATA Method

The CLIPBOARD.GET_DATA() method gets data from the clipboard and stores it in Variable. The type of data retrieved from the clipboard is determined by Clipboard_Format. You can register a new Clipboard_Format value with the CLIPBOARD.REGISTER_TYPE() method.

CLIPBOARD.HAS_DATA Method

The CLIPBOARD.HAS_DATA() method returns .T. or .F. depending on whether the clipboard has data of the type specified by Clipboard Format.

CLIPBOARD.REGISTER_TYPE Method

Allows the user to specify a name for the type of data stored on the clipboard.

CLIPBOARD.SET_DATA Method

The CLIPBOARD.SET_DATA() method puts the data in the variable, Data on the clipboard. You can specify the type of data with the optional Clipboard_Format parameter. See CLIPBOARD.GET_DATA() for a list of standard clipboard formats. You can register a new Clipboard_Format value with the CLIPBOARD.REGISTER_TYPE() method.