Skip to content

Next_Mdi_Dialog - AppClientArea

Provides a way to obtain the object ID of all views contained by this container

Type: Function
Return Data Type: Integer

Parameters

Parameter Type Description
FindFirst Integer If True, find the first Mdi dialog. If False, find the next dialog

Syntax

Function Next_Mdi_Dialog Integer FindFirst Returns Integer

Call Example

Get Next_Mdi_Dialog FindFirst to IntegerVariable

Description

This function provides a way to obtain the object ID of all views contained by this object. If FindFirst is true, the object handle of the first child is returned. If FindFirst is false, the next handle is returned. A zero is returned after the last handle has been processed. Note that child-object handles are returned regardless of whether the object is active.

Function Verify_Exit_application Returns Integer
    Boolean bErr
    Handle hoView
    Get Next_Mdi_Dialog True to hoView // find first
    While (hoView and not(bErr))
        Get Verify_Exit_application of hoView to bErr
        If not bErr begin
            Get Next_Mdi_Dialog False to hoView // find next
        End
    End
    function_return bErr
End_Function