IsDialog Property

Purpose

Returns True when a Form is created using the Dialog command.

Syntax

? = Form.IsDialog

Description

Returns true when a Form is created using the Dialog command. This is useful because of different management of dialogs as forms.

For a dialog-form AutoClose = 0 and the background color is white.

Example

Dialog # 1, 50, 50, 200, 110, "DlgBase Outside"$80 ', -12, "ARIAL"

LText "This is should be bold!", 3, 32, 16, 350, 16, $0

PushButton "Close", IDOK,  55, 45, 80, 20

EndDialog

ShowDialog # 1

Trace Dlg_1.IsDialog   // returns False

Remarks

This property doesn't seem to work.

See Also

Dialog, Form

{Created by Sjouke Hamstra; Last updated: 10/10/2014 by James Gaite}