Xbasic

UI_DLG_IS_MAXIMIZED Function

Syntax

Result_Flag as L = UI_DLG_IS_MAXIMIZED(C title)

Arguments

Result_Flag

Indicates whether the dialog box is maximized. .T. = is maximized .F. = is not maximized

title

The name of the dialog box.

Description

Returns true if the named xdialog is maximized.

Discussion

The UI_DLG_IS_MAXIMIZED() function indicates whether the specified modeless dialog is maximized.

Example 

The following example creates a modeless dialog box, then tests to see if it is maximized.

ui_modeless_dlg_box("Visible Xdialog", <<%dlg%
<20,3Click Here>
%dlg%)
? ui_dlg_is_maximized("Visible Xdialog")
= .F.

Limitations

Desktop applications only.

See Also