Class: Dialog

Properties  Events  Methods    Index of Classes

Creates non-MDI-child dialog objects

Hierarchy

cObject
---cUIObject
------DfBaseObject
---------DfBaseWindow
------------DfBaseUIWindow
---------------DfBaseContainer
------------------DfBaseDialog
---------------------Container3d
------------------------Dialog

Library: Windows Application Class Library

Package: Windows.pkg

Mixins: Panel_Mixin Modal_Mixin DefaultActionButton_Mixin

Description

The Dialog creates non-MDI-child dialog objects. A Dialog object has icons for maximize and minimize, a non-resizable border, system-menu icon, and a caption bar. Since views in DataFlex should be Multiple Document Interface (MDI) views, this class serves little purpose and is included for completeness.

Syntax

This class is not intended for instantiation. The DataFlex Studio used the dbModalPanel class to create modal dialog-type panels (called Dialog and Lookup components).

Resizing a Dialog

When an object of this class is resized by users, this object sends the OnResize message to itself. This message is supplied with no definition as a "hook" procedure to use when some action, such as resizing child list objects, is desired on resizing of this object.

Most likely, you would use anchors (see peAnchors) for resizing, unless you need some specialized resizing that anchors do not handle.

See Also

Studio: Create New Dialog / Lookup