The dBASE Plus MDI frame window.

Syntax

The _app.frameWin object is automatically created when you start dBASE Plus.

Properties

The following table lists the properties and methods of the _app.frameWin object. (No events are associated with the _app.frameWin object.)

Property

Default

Description

baseClassName

FRAMEWINDOW

Identifies the object as an instance of an MDI frame window

className

(FRAMEWINDOW)

Identifies the object as an instance of a custom class. When no custom class exists, defaults to baseClassName

hWnd

 

The Windows handle to the frame window

text

dBASE Plus

The title displayed in the frame window

systemTheme

true

Whethor or not to use the common controls in the manifest file for Windows XP or Windows Vista.

visible

true

Whether the frame window is visible

windowState

 

The state of the frame window: 0=Normal, 1=Minimized, 2=Maximized

Event

Parameters

Description

onClose()

 

After the framewin has been closed.

Method

Parameters

Description

hasHScrollBar( )

 

Indicates whether a frame window uses a horizontal scrollbar.

hasVScrollBar( )

 

Indicates whether a frame window uses a vertical scrollbar.

Description

_app.frameWin represents the main dBASE Plus application window. This window is the frame window that contains all MDI windows during development and in an MDI application. If your application uses SDI windows only, the MDI frame window is usually hidden with the SHELL( ) function.

If you assign a MenuBar to _app.frameWin, that menu becomes the default menu that is visible when no MDI windows are open, or the current MDI window has no menu of its own. If you are using SHELL( ) to hide the Navigator and Command window in an MDI application, you must call SHELL( ) after assigning the _app.frameWin menu.