4D v14.3GET PASTEBOARD DATA |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
GET PASTEBOARD DATA
GET PASTEBOARD DATA
The GET PASTEBOARD DATA command returns, in the BLOB field or in the data variable, the data present in the pasteboard and whose type you pass in dataType. (If the pasteboard contains text copied within 4D, then the BLOB’s character set is likely to be UTF-16.) In dataType, pass a value specifying the type of data to be retrieved. You can pass a 4D signature, a UTI type (Mac OS), a format name/number (Windows), or a 4-character type (compatibility). For more information about these types, please refer to the Managing Pasteboards section. The following object methods for two buttons copy from and paste data to the array asOptions (pop-up menu, drop-downlist,...) located in a form: ` bCopyasOptions object method If the data is correctly extracted, OK is set to 1; otherwise OK is set to 0 and an error is generated. If there is not enough memory to extract the data, an error -108 is generated. |
PROPERTIES
Product: 4D
HISTORY
Modified: 4D v11 SQL SEE ALSO
APPEND DATA TO PASTEBOARD ARTICLE USAGE
4D Language Reference ( 4D v12.4) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||