DataWindow Class |
|
Namespace: VO
The DataWindow type exposes the following members.
| Name | Description | |
|---|---|---|
| DataWindow |
Construct a data window.
|
| Name | Description | |
|---|---|---|
| AllowServerClose |
A logical value specifying whether the server is automatically closed with the data window. By default, this is set to TRUE in the DataWindow:Init() method.
| |
| AutoScroll |
A data window scrolls automatically to any control which gains focus while tabbing, even if the control is not visible (for example, when the window is resized). By setting AutoScroll to FALSE, this automatic scrolling behavior is blocked.
| |
| Background |
The background brush currently in use by this data window.
(Overrides Background.) | |
| Browser |
The DataBrowser object to use when this data window is displayed in browse view.
| |
| BrowserClass |
A symbol specifying the class used for the data window's browse mode. Valid values are: #DATABROWSER, #DATALISTVIEW, or any user-defined class.
The default is #DATABROWSER.
| |
| Caption | (Overrides Caption.) | |
| ClipperKeys |
A logical value indicating that the Clipper navigation keys (i.e., the Direction and Return keys) are to be used for this data window (TRUE if yes, FALSE if no).
| |
| ConcurrencyControl |
A constant, identifying the mode of automatic concurrency control for this data window, determining when and how records are locked and released:
| |
| ContextMenu |
The context menu attached to the window
(Overrides ContextMenu.) | |
| CurrentView |
A symbol representing the view mode of the data window, as #BrowseView or #FormView.
| |
| DeferUse |
A logical value specifying whether the Use() operation for connecting the data window to the associated server should be deferred until the data window is first displayed.
| |
| Foreground |
The foreground brush currently in use by this data window.
(Overrides Foreground.) | |
| Menu | (Overrides Menu.) | |
| Origin |
The point representing the new location of this data window, in the canvas coordinates of its owner.
(Overrides Origin.) | |
| OwnerAlignment | The Owner Alignment value for the window, which is used when the window is a subwindow on another window. (Overrides OwnerAlignment.) | |
| Pen | (Overrides Pen.) | |
| Pointer |
The pointer used by the data window to represent the mouse when it enters the window.
(Overrides Pointer.) | |
| PreventAutoLayout |
A logical value indicating that the AutoLayout behavior of the data window is blocked (TRUE if yes, FALSE if no). An empty data window does not create controls automatically when it first uses a new data server.
| |
| Server |
The DataServer object currently connected to this data window. If no server is connected, this value is NIL.
| |
| Size |
The dimension representing the size of this data window in canvas coordinates.
(Overrides Size.) | |
| Status |
A hyperlabel identifying the status of this data window after the last operation.
| |
| ToolBar | (Overrides ToolBar.) |
| Name | Description | |
|---|---|---|
| Activate |
Provide a method that is invoked when this window is activated.
(Overrides Activate(Usual).) | |
| Append |
Append a blank record to the data server connected to this data window and position the window on this new record.
| |
| ButtonClick |
Provide a method that is invoked when a check box, push button, or radio button is clicked with the mouse.
(Overrides ButtonClick(Usual).) | |
| Cancel |
Discard all information entered in this data window and close the window.
| |
| CanvasErase |
Erase the current canvas area of this data window and repaint it using either the background brush or the system's default background color.
(Overrides CanvasErase.) | |
| ChangeFont |
Change the font used by this datawindow.
| |
| CheckStatus |
Test the information currently displayed in the controls in this data window to see if it passes all validation
rules defined to the connected server.
| |
| Clear |
Clear the current selection in this data window.
| |
| ClearRelations |
Clear all relations defined to this data window's server.
| |
| Close |
Invoked just as the data window is about to close.
(Overrides Close(Usual).) | |
| Commit |
Force all pending updates to this data window's server to be permanently written to disk.
| |
| ControlFocusChange | Provide a method that is invoked when the input focus changes to or from a control. | |
| Copy |
Copy the current selection in this data window to the clipboard.
| |
| Cut |
Delete the current selection in this data window and copy it to the clipboard.
| |
| DeActivate |
Provide a method that is invoked when this window is deactivated.
(Overrides DeActivate(Usual).) | |
| DeactivateAllOLEObjects | (Overrides DeactivateAllOLEObjects(Usual).) | |
| Delete |
Delete the current record in the attached server and update the window based on the change.
| |
| DeleteValidated |
Delete the current record in the attached server only if it passes its validation rules and update the window based on the change.
| |
| Destroy |
Free memory resources allocated for a window and its derived objects.
(Overrides Destroy.) | |
| DisableConditionalControls |
Disable those controls in this data window that have been registered with RegisterConditionalControls().
| |
| Dispatch |
Provide the dispatcher for events within the system when the window has focus;
routing various events to their appropriate event handlers.
(Overrides Dispatch(Usual).) | |
| Draw |
Display a Draw object on this data window.
(Overrides Draw(Usual).) | |
| EditChange |
Provide a method that is invoked when the text in an edit control is changed.
(Overrides EditChange(Usual).) | |
| EnableConditionalControls |
Enable those controls that have been registered with RegisterConditionalControls().
| |
| EnableDragDropClient | ||
| EnableStatusBar |
Enable/disable a status bar in an application window.
(Overrides EnableStatusBar(Usual).) | |
| EnableToolTips |
Enable or disable the tooltips for a window. Note that assigning a value to Control:ToolTipText automatically enables the tooltip's display on the parent window.
(Overrides EnableToolTips(Usual).) | |
| Error |
Provide a method for handling error conditions raised during data window processing.
| |
| Expose |
Provide a method that is invoked whenever part of the data window needs repainting.
(Overrides Expose(Usual).) | |
| FIELDGET |
Retrieve the current value of the indicated control in this data window (and the data server field associated with this control, if any).
| |
| FIELDPUT |
Set the value of the control in this data window (and the data server field associated with this control, if any).
| |
| FocusChange |
Provide a method that is invoked when the input focus changes from the current data window to another window (or vice versa).
(Overrides FocusChange(Usual).) | |
| GetAllChildren |
Obtain an array of all X# children objects of the window.
(Overrides GetAllChildren.) | |
| GoBottom |
Position the data server connected to this data window on the last logical record and update the window based on the change.
| |
| GoTo |
Position the data server connected to this data window on a specified record number and update the window based on the change.
| |
| GoTop |
Position the data server connected to this data window on the first logical record and update the window based on the change.
| |
| HelpRequest |
Provide a method that is invoked when the user requests help from the application using one of the available context-sensitive help mechanisms.
(Overrides HelpRequest(Usual).) | |
| Hide |
Hide this data window so it is not visible.
(Overrides Hide.) | |
| HorizontalScroll |
Provide a method that is invoked when a horizontal scroll bar is scrolled.
(Overrides HorizontalScroll(Usual).) | |
| HorizontalSlide |
Provide a method that is invoked when a horizontal slider's thumb is dragged either by the mouse or the keyboard.
(Overrides HorizontalSlide(Usual).) | |
| HorizontalSpin |
Provide a method that is invoked when a horizontal spinner is spun.
(Overrides HorizontalSpin(Usual).) | |
| InsertObject |
Use the standard Insert Object dialog to insert an OLE object into the focused OLEObject of the data window.
| |
| LineTo |
Draw a line on this data window (using the current pen) from the current pen position to a specified point.
(Overrides LineTo(Usual).) | |
| ListBoxClick |
Provide a method that is invoked when an item in a list box owned by this data window is double-clicked.
(Overrides ListBoxClick(Usual).) | |
| ListBoxSelect |
Provide a method that is invoked when an item in a list box owned by this data window is clicked.
(Overrides ListBoxSelect(Usual).) | |
| MouseButtonDown |
Provide a method that is invoked when the mouse pointer is positioned over the window and a mouse button is clicked.
(Overrides MouseButtonDown(Usual).) | |
| MoveTo |
Move the current pen to a point on the data window's canvas area.
(Overrides MoveTo(Usual).) | |
| Notify |
An event handler that reflects events that have occurred in the server connected to this data window.
Important! Notify() is automatically called by the server, and should normally not be called by application code. | |
| OK |
Accept all information entered in this data window and close the window.
| |
| OLEInPlaceActivate |
Called whenever a child OLE object is about to be "inplace" activated.
(Overrides OLEInPlaceActivate.) | |
| OLEInPlaceDeactivate |
Called whenever a child OLE object is about to be "inplace" deactivated.
(Overrides OLEInPlaceDeactivate.) | |
| PaintBoundingBox |
Paint a rectangular area in the data window using a specified painting method.
(Overrides PaintBoundingBox(Usual, Usual).) | |
| Paste |
Replace the current selection in this data window with the contents of the clipboard.
| |
| PasteSpecial |
Use the standard Paste Special dialog to insert an OLE object into the focused OLEObject of the data window.
| |
| PreValidate |
Called after any status change in this data window to allow controls and menu commands to be enabled/disabled based on the current validation status.
| |
| QueryClose |
Provide a method that is invoked just before the data window closes to confirm if the application really wants to close the window.
(Overrides QueryClose(Usual).) | |
| RegisterConditionalControls |
Register a control in this data window as being subject to validation status and hence automatically dimmed whenever the window is in an invalid state.
| |
| RePaint |
Send an ExposeEvent to repaint the data window's canvas area.
(Overrides RePaint.) | |
| RepaintBoundingBox |
Repaint a rectangular area in the data window.
(Overrides RepaintBoundingBox(Usual).) | |
| Resize |
Provide a method that is invoked when the data window changes size.
(Overrides Resize(Usual).) | |
| Seek |
Search for a value in the data server connected to this data window based on a controlling search order and update the window based on the change.
| |
| SetAlignStartSize |
Sets the start size of the form window. In general, this size is set with the first assign to OwnerAlignment but it can be useful when trying to control the sizes for yourself.
(Overrides SetAlignStartSize(Usual).) | |
| SetRelation |
Set a relation from the data server connected to this data window to the data server of another, creating an owner-child relationship between the two servers and the two windows.
| |
| SetSelectiveRelation |
Set a selective relation from this window to the child window, or actually from the server of
this window to the server of the other window. A selective relation is one that limits operations on the child server to those records that match the relation condition.
| |
| Show |
Display a window.
(Overrides Show(Usual).) | |
| Skip |
Move forward or backward in the server by a specified number of records.
| |
| SkipNext |
Move to the next record (identical to Skip(1)).
| |
| SkipPrevious |
Move to the previous record (identical to Skip(-1)).
| |
| StatusOK |
Indicate the current validation status of the window through a return code and by setting the DataWindow:Status property.
| |
| TextPrint |
Display a given string on the data window at a specified location using the current font and the current pen color.
(Overrides TextPrint(Usual, Usual).) | |
| ToolBarHeightChanged |
Provide a method that is invoked when the height of the window's toolbar is changed.
(Overrides ToolBarHeightChanged(Usual).) | |
| Undo |
Undo recent changes made in this data window.
| |
| UndoAll |
Undo all changes made in this data window since the last record movement or Commit() operation.
| |
| UpdateActiveObject |
Update the toolbars of any in-place active OLE objects.
| |
| Use |
Connect the data window to a data server in a client-server relationship.
| |
| VerticalScroll |
Provide a method that is invoked when a vertical scroll bar is scrolled.
(Overrides VerticalScroll(Usual).) | |
| VerticalSlide |
Provide a method that is invoked when a vertical slider's thumb is dragged either by the mouse or the keyboard.
(Overrides VerticalSlide(Usual).) | |
| VerticalSpin |
Provide a method that is invoked when a vertical spinner is spun.
(Overrides VerticalSpin(Usual).) | |
| ViewAs |
Specify the view mode of the data window, as browse view or form view.
| |
| ViewForm |
Select form view for the data window.
| |
| ViewTable |
Select browse view for the data window.
|
| Name | Description | |
|---|---|---|
| symFormDialog |
1oCustomerWindow:CustName := x