CanDelete - cUIObject

Determines whether a Delete operation can be successfully completed

Type: Function

Return Data Type: Boolean

Parameters: None

Return Value


Syntax
Function CanDelete Returns Boolean

Call: Get CanDelete to BooleanVariable


Description

Determines whether a Delete 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 deleted is selected.