Skip to content

CanCopy - cUIObject

Determines whether a Copy operation can be successfully completed

Type: Function
Return Data Type: Boolean

Syntax

Function CanCopy Returns Boolean

Call Example

Get CanCopy to BooleanVariable

Description

Determines whether a Copy 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 text that can be successfully copied is selected.