Skip to content

Exiting_Scope - cUIObject

Sent whenever the focus is moving to an object that is outside the current scope

Type: Event

Parameters

Parameter Type Description
hoNewScope Handle the object handle of the scope object to which the focus is to move

Syntax

Procedure Exiting_Scope Handle hoNewScope

Description

The Exiting_Scope event is sent whenever the focus is moving to an object that is outside the current scope. The message is provided to allow the program to perform any post-processing of scopes.

Procedure Exiting_Scope Handle hoNewScope Returns Integer
    Integer iFail

    Forward Get msg_Exiting_Scope hoNewScope to iFail
    If (not(iFail)) Begin
        Send SaveScopeData
    End

    Procedure_Return iFail
End_Procedure

See Also

OnExitArea | OnEnterArea