Window
Object List Hierarchy Next Object
Definition:
Encapsulates features common to all objects that implement MS Windows
graphical user interface elements, such as Forms and Controls.
Specialized Features:
The following tables list and describe the properties, methods, and events
added by Window:
Properties Use to...
BackColor Determine the background color of an object.
Caption Determine the text that labels a form or control.
DataChanged Inform the DataSource whether the Value of a Window has changed.
DataField Assign a Field of the DataSource to the Window.
DataSource Inform the DataSource whether the Value of a Window has changed.
DragMode Set the automatic or manual drag mode for drag-and-drop operations.
Enabled Determine whether a form or control can be accessed by user input.
Font Set or access the font object, which determines the appearance of the font.
ForeColor Determine the draw color of text and graphics.
Height Determine vertical size of an object.
hWnd Determine the handle of the window for API calls.
Left Determine the horizontal distance between the internal left edge of an object
and the left side of its container.
MousePointer Set the appearance of the cursor when the mouse pointer is over different
areas of an object.
Name Specifiy the name used in code to uniquely identify the objects in your
application.
Parent Reference the form on which a control is placed.
PopupMenu Reference the menu to display if the right mouse button is held down over an
active area of the window.
Top Determine the distance between the internal top edge of an object and the top
edge of its container.
Visible Specify whether an object is displayed or hidden.
Width Determine horizontal size of an object.
ZOrder Specify the order that a sub-window paints and receives events relative to the
other sub-windows within a given window.
Methods Use to...
Move Move a form or control.
Refresh Force a repaint or update of a form, a control, or an object.
SetFocus Give the focus to the specified form or control.
TextUnload Write a text representation of a window.
Events Use to..
DragAndDrop Raised on drag sites and targets during a drag operation.
DragStart Define what occurs when a drag-and-drop operation is initiated.
MouseDown Define what occurs when the user presses any mouse button.
MouseMove Define what occurs when a user moves the mouse pointer.
MouseUp Define what occurs when the user releases any mouse button.
Setup Define what occurs when a window is created as the result of loading or
showing it.
Update Define what occurs to the Text property on a window when the CurrentRecord of
the Windows DataSource changes.
UpdateDataSource Define what Update value to use for the CurrentRecord's DataField of the
DataSource when a control's DataChanged property is True and the CurrentRecord
changes.
Copied Features:
None
this is a top-level object.