UI_DLG_IS_ACTIVE()

Syntax

Result_Flag as L = UI_DLG_IS_ACTIVE( Dialog_Title as C )

Argument

Description

Result_Flag

  • .T. = The dialog, or an embedded dialog within the dialog, or any control on the dialog has focus.

  • .F. = No component of the dialog has focus.

Dialog_Title

The name of the dialog when created with UI_DLG_BOX() or UI_MODELESS_DLG_BOX().

Description,

The UI_DLG_IS_ACTIVE() function returns .T. (True) if the dialog, or an embedded dialog within the dialog, or any control on the dialog has focus.

Supported By

Alpha Five Version 6 and Above

Limitations

Desktop applications only.

Example

? ui_dlg_is_active("User Message")

= .F.

See Also

Xdialog Function Reference