Description

This class allows to control the IQ application dialogs contained in McApplication.Dialogs.

Object Model


Remarks

These dialogs are created on demand based on the content of the .dlg files found in the Resources\Dialogs directory. The collection initially contains all the dialogs found in that folder, and will be limited to loaded dialogs in subsequent runs. Dialogs with the startup attribute set to true are loaded and created during the first run, while only dialogs which were visible in the previous session are created in later runs.

Members

Methods
Add

Add a named dialog to the collection.

HideAll

Hides all the dialogs without unloading them.

Load

Loads one or several dialogs from their definition file (.dlg).

Remove

Removes and unloads one dialog from the collection.

RemoveAll

Removes and unloads all the dialogs from the collection.


Properties
CountRead-only property

Returns the number of dialogs in the collection (all loaded dialogs) or the number of instances of a specific dialog.

ItemRead-only property

Returns one of the active (loaded) McCommandDialog objects in the collection.


Events
Click

The event fired when dialog control buttons are clicked.

Close

The event fired when a dialog is removed from the collection before being destroyed.

Dock

The event fired when a dialog is docked.

Float

The event fired when a dialog starts floating.

Hide

The event fired when dialogs and pages are hidden.

Initialize

The event fired when dialogs and pages are initialized.

MDIFloat

The event fired when a dialog becomes an MDI child.

Show

The event fired when dialogs and pages are displayed.

Terminate

The event fired when dialogs and pages are destroyed.