Deactivating - cUIObject

Sent to the object when it is being removed from the focus tree

Type: Event

Parameters: None

Syntax
Procedure Deactivating 

Description

The Deactivating event is sent to the object when it is being removed from the focus tree. This event is provided so that objects may perform specific actions prior to deactivating.

This message cannot be used to cancel object deactivation; you can use Verify_Exit to do so.


See Close_Panel for detailed explanations of the View and Modal Dialog deactivation process.


Sample

Procedure Deactivating
    Forward Send Deactivating

    If (Changed_State(Self)) Begin
        Send Save_It_All
    End
End_Procedure

See Also

Activating