4D v16.3CLEAR PASTEBOARD |
|||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
CLEAR PASTEBOARD
CLEAR PASTEBOARD
The CLEAR PASTEBOARD command clears the pasteboard of all its contents. If the pasteboard contains multiple instances of the same data, all instances are cleared. After a call to CLEAR PASTEBOARD, the pasteboard is empty. You must call CLEAR PASTEBOARD once before appending new data to the pasteboard using the command APPEND DATA TO PASTEBOARD, because this latter command does not clear the pasteboard before appending the new data. Calling CLEAR PASTEBOARD once and then calling APPEND DATA TO PASTEBOARD several times enables you to Cut or Copy the same data under different formats. On the other hand, the SET TEXT TO PASTEBOARD and SET PICTURE TO PASTEBOARD commands automatically clear the pasteboard before appending the data to it. The following code clears and then appends data to the pasteboard: CLEAR PASTEBOARD ` Make sure the pasteboard is emptied See example for the APPEND DATA TO PASTEBOARD command.
See also
|
PROPERTIES
Product: 4D
HISTORY
Modified: 4D v11 SQL ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||