|
|
|
|
|
EVENT: |
|
|
|
canClose |
|
|
|
|
|
|
|
DESCRIPTION: |
|
|
|
Event fired when there’s an attempt to deactivate object; return value determines if the object is deactivated. |
||
|
|
|
|
|
PROPERTY OF: |
|
|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
PARAMETERS: |
|
|
|
none |
|
|
|
|
|
|
|
DESCRIPTION: |
|
|
|
If the active property is set to false, that object’s canClose event fires. |
||
|
If the canClose event handler returns false, the close attempt fails and the active property remains true. |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
|
|