Skip to content

CanPaste - cUIObject

Determines whether a Paste operation can be successfully completed

Type: Function
Return Data Type: Boolean

Syntax

Function CanPaste Returns Boolean

Call Example

Get CanPaste to BooleanVariable

Description

Determines whether a Paste operation can be successfully completed.

This message is understood by all classes. If called for a class that explicitly supports this message (e.g. cTextEdit), it will return True if the Clipboard contains pasteable content for the class and that content can be successfully pasted.