CanPaste - cUIObject

Determines whether a Paste operation can be successfully completed

Type: Function

Return Data Type: Boolean

Parameters: None

Return Value


Syntax
Function CanPaste Returns Boolean

Call: 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.