Skip to content

View_Mode - DfBaseDialog

Changes the appearance of the DfBaseDialog window

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer View_Mode
Access Type Syntax
Read Access: Get View_Mode to IntegerVariable
Write Access: Set View_Mode to IntegerVariable/Value

Description

The View_Mode property changes the appearance of the DfBaseDialog window.

If set to ViewMode_Zoom, the window is maximized. If set to ViewMode_Iconize, the window is minimized. If set to ViewMode_Normal, the window returns to the previous state before it was iconized. This property can be used to open a view maximized or minimized.

Possible values are:

Mode Description
ViewMode_Normal Window returns to the previous state before it was iconized
ViewMode_Zoom Window is maximized
ViewMode_Iconize Window is minimized

Sample

This sample will cause a view to be opened maximized or, if already open, become maximized.

Set View_Mode to ViewMode_Zoom

Default is ViewMode_Normal.

See Also

Minimize_Icon | Maximize_Icon | Sysmenu_Icon