Description

The AForm class defines a window that makes up part of an application's user interface. The form window is divided to non-client and client areas. The non-client area contains its caption and border. The client area is used to display the form controls. A form may contains menu and controls objects and can have three types: Normal, MDI Frame and MDI Child. You create the form using the ATEasy Load statement. The Form object can be accessed within the form code using the Form internal variable.

Properties

 

ActiveControl

Description

KeyPreview*

ScaleHeight*

AlignPaddingBottom

DrawMode*

Left

ScaleLeft*

AlignPaddingLeft

DrawStyle*

MaxButton*

ScaleMode*

AlignPaddingRight

DrawWidth*

MDIActiveForm*

ScaleTop*

AlignPaddingTop

Enabled

MenuBar

ScaleWidth*

AutoRedraw*

FillColor*

Menus

ScrollBars*

AutoScale

FillStyle*

MenusCount

ShowInTaskBar*

AutoScroll

Font*

MinButton*

StartUpPosition

AutoScrollMinHeight

Font3D*

MouseIcon

Tag

AutoScrollMinWidth

FontTransparent*

MousePointer

Top

BackColor

ForeColor*

Moveable

Type

BorderStyle*

hDC*

Name

Visible

Caption

Height

OLEDropMode

WhatsThisButton

ClipControls*

HelpContextID

Palette*

WhatsThisHelpID

ControlBox*

HelpFile

PaletteMode*

WhatsThisHelpText

Controls

hWnd

Picture

Width

ControlsCount

Icon

PictureDrawMode

WindowState

CurrentX*

InsertControl

RemoveControl

XPStyle

CurrentY*

Image*

RightToLeft

 

Note that properties with an '*' above does not apply to a Form of type MDI Frame.

 

Methods

 

Center

PaintPicture

ScaleY

Circle

Point

SetFocus

Cls

PopupMenu

ShowHelpContext

DrawText

PSet

ShowWhatsThis

Line

Rectangle

TextHeight

MDIArrange

Refresh

TextWidth

Move

Scale

WhatsThisMode

OLEDrag

ScaleX

 

Events

 

OnActivate

OnKeyPress

OnPaint

OnClick

OnKeyUp

OnQueryUnload

OnDblClick

OnLoad

OnResize

OnDeactivate

OnLostFocus

OnTerminate

OnGotFocus

OnMouseDown

OnUnload

OnHelpContext

OnMouseMove

OnWhatsThisHelp

OnInitialize

OnMouseUp

 

OnKeyDown

OnMove

 

Constants

 

enumAFormBorderStyle

enumAFormMousePointer

enumAFormStartUpPostiion

enumAFormDrawMode

enumAFormOLEDropMode

enumAFormType

enumAFormDrawStyle

enumAFormPaletteMode

enumAFormUnloadMode

enumAFormDrawText

enumAFormPictureDrawMode

enumAFormWindowState

enumAFormFillStyle

enumAFormPopupMenu

 

enumAFormMDIArrange

enumAFormScaleMode

 

See Also

AMenu, About Controls, Form, Load