Click or drag to resize

OLEDataWindow Methods (Typed)

X#

The OLEDataWindow type exposes the following members.

Functions
  NameDescription
Public methodActivate
Provide a method that is invoked when this window is activated.
(Inherited from DataWindow.)
Public methodAddTrayIcon
Adds a tray icon associated with the window.
(Inherited from Window.)
Public methodAnimationStart
Provide a method that is invoked when an animation control begins playback.
(Inherited from Window.)
Public methodAnimationStop
Provide a method that is invoked when an animation control ends playback.
(Inherited from Window.)
Public methodAppCommand
Provide a method that is invoked when an AppCommand event takes place.
(Inherited from Window.)
Public methodAppend
Append a blank record to the data server connected to this data window and position the window on this new record.
(Inherited from DataWindow.)
Public methodButtonClick
Provide a method that is invoked when a check box, push button, or radio button is clicked with the mouse.
(Inherited from DataWindow.)
Public methodButtonDoubleClick
Provide a method that is invoked when a check box, push button, or radio button is double-clicked.
(Inherited from Window.)
Public methodCancel
Discard all information entered in this data window and close the window.
(Inherited from DataWindow.)
Public methodCanvasErase
Erase the current canvas area of this data window and repaint it using either the background brush or the system's default background color.
(Inherited from DataWindow.)
Public methodCenter
Center the window on its owner, or if the owner is the dektop, then center the window on the desktop.
(Inherited from Window.)
Public methodChangeFont
Change the font used by this datawindow.
(Inherited from DataWindow.)
Public methodCheckStatus
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.
(Inherited from DataWindow.)
Public methodClear
Clear the current selection in this data window.
(Inherited from DataWindow.)
Public methodClearRelations (Inherited from DataWindow.)
Public methodClose
Invoked just as the data window is about to close.
(Inherited from DataWindow.)
Public methodComboBoxExEndEdit
A callback method that is invoked when a ComboBoxEx control sends an 'EndEdit' notification message
(Inherited from Window.)
Public methodComboBoxExNotify
A callback method that is invoked when a ComboBoxEx control sends a notification message
(Inherited from Window.)
Public methodCommit
Force all pending updates to this data window's server to be permanently written to disk.
(Inherited from DataWindow.)
Public methodContextMenuShow (Inherited from Window.)
Public methodControlFocusChange
Provide a method that is invoked when the input focus changes to or from a control.
(Inherited from DataWindow.)
Public methodControlNotify
Provide a method that is invoked when a control sends a notification to its parent window.
(Inherited from Window.)
Public methodCopy
Copy the current selection in this data window to the clipboard.
(Inherited from DataWindow.)
Public methodCut
Delete the current selection in this data window and copy it to the clipboard.
(Inherited from DataWindow.)
Public methodDateTimeSelectionChanged
Provide a method that is invoked when a DateTimePicker selection is changed.
(Inherited from Window.)
Public methodDeActivate
Provide a method that is invoked when this window is deactivated.
(Inherited from DataWindow.)
Public methodDeactivateAllOLEObjects (Inherited from DataWindow.)
Public methodDefault
Call the default windows procedure for a window and set the EventReturnValue for the object.
(Inherited from AppWindow.)
Public methodDelete
Delete the current record in the attached server and update the window based on the change.
(Inherited from DataWindow.)
Public methodDeleteValidated
Delete the current record in the attached server only if it passes its validation rules and update the window based on the change.
(Inherited from DataWindow.)
Public methodDestroy
Free memory resources allocated for a window and its derived objects.
(Inherited from DataWindow.)
Public methodDisable
Disable this window (until a subsequent call to Enable()).
(Inherited from Window.)
Public methodDisableConditionalControls
Disable those controls in this data window that have been registered with RegisterConditionalControls().
(Inherited from DataWindow.)
Public methodDispatch
Provide the dispatcher for events within the system when the window has focus; routing various events to their appropriate event handlers.
(Inherited from AppWindow.)
Public methodDraw
Display a Draw object on this data window.
(Inherited from DataWindow.)
Public methodDrawBackground
Draw the background of a window.
(Inherited from Window.)
Public methodDrop
Retrieve information about a load from the drag event and act on each file in the selection.
(Inherited from Window.)
Public methodEditChange
Provide a method that is invoked when the text in an edit control is changed.
(Inherited from DataWindow.)
Public methodEditFocusChange (Inherited from DataWindow.)
Public methodEditScroll
Provide a method that is invoked for this window when an edit control is scrolled.
(Inherited from Window.)
Public methodEnable
Enable a previously disabled window.
(Inherited from Window.)
Public methodEnableBorder
Set the border style for an application window.
(Inherited from AppWindow.)
Public methodEnableCloseBox
Enable or Disable the close button on a window (the X )
(Inherited from Window.)
Public methodEnableConditionalControls
Enable those controls that have been registered with RegisterConditionalControls().
(Inherited from DataWindow.)
Public methodEnableDragDropClient(Logic)
Allow "draggable" windows to be dropped on this window.
(Inherited from Window.)
Public methodEnableDragDropClient(Logic, Logic) (Inherited from DataWindow.)
Public methodEnableDragDropServer Obsolete.
Allow this window to be dropped on windows with drag and drop capabilities.
(Inherited from Window.)
Public methodEnableHelp
Enable or disable help for a window and its child windows.
(Inherited from Window.)
Public methodEnableHelpButton
Enables the help button in the window caption bar.
(Inherited from Window.)
Public methodEnableHelpCursor
Changes the cursor to a question mark with a pointer.
(Inherited from Window.)
Public methodCode exampleEnableHorizontalScroll
Enable/disable a window horizontal scroll bar in an application window.
(Inherited from AppWindow.)
Public methodEnableMaxBox
Enable/disable a maximize box in an application window.
(Inherited from AppWindow.)
Public methodEnableMinBox
Enable/disable a minimize box in an application window.
(Inherited from AppWindow.)
Public methodCode exampleEnableOleDropTarget
Register the window as an OLE drop target.
(Inherited from AppWindow.)
Public methodEnableStatusBar
Enable/disable a status bar in an application window.
(Inherited from DataWindow.)
Public methodCode exampleEnableSystemMenu
Enable/disable a system menu in an application window.
(Inherited from AppWindow.)
Public methodEnableThemeDialogTexture
Enables or disables the visual style of a dialog window's background.
(Inherited from Window.)
Public methodEnableToolBar
Enable/disable a toolbar in an application window.
(Inherited from AppWindow.)
Public methodEnableToolTips
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.
(Inherited from Window.)
Public methodCode exampleEnableVerticalScroll
Enable/disable a window vertical scroll bar in an application window.
(Inherited from AppWindow.)
Public methodEndWindow
Remove this application window from view (passing control back to the routine which created the application window).
(Inherited from AppWindow.)
Public methodEndWindow(Logic)
Remove this application window from view (passing control back to the routine which created the application window).
(Inherited from AppWindow.)
Public methodError
Provide a method for handling error conditions raised during data window processing.
(Inherited from DataWindow.)
Public methodErrorMessage
Display a message in an error box.
(Inherited from AppWindow.)
Public methodExpose
Provide a method that is invoked whenever part of the data window needs repainting.
(Inherited from DataWindow.)
Public methodFieldGet
Retrieve the current value of the indicated control in this data window (and the data server field associated with this control, if any).
(Inherited from DataWindow.)
Public methodFieldPut
Set the value of the control in this data window (and the data server field associated with this control, if any).
(Inherited from DataWindow.)
Public methodCode exampleFocusChange
Provide a method that is invoked when the input focus changes from the current data window to another window (or vice versa).
(Inherited from DataWindow.)
Public methodGetAllChildren
Obtain an array of all X# children objects of the window.
(Inherited from Window.)
Public methodGetDlgItem (Inherited from Window.)
Public methodGetExStyle
Retrieve the Ex styles for the window.
(Inherited from Window.)
Public methodGetStyle
Retrieve the styles for the window.
(Inherited from Window.)
Public methodGoBottom
Position the data server connected to this data window on the last logical record and update the window based on the change.
(Inherited from DataWindow.)
Public methodGoTo
Position the data server connected to this data window on a specified record number and update the window based on the change.
(Inherited from DataWindow.)
Public methodGoTop
Position the data server connected to this data window on the first logical record and update the window based on the change.
(Inherited from DataWindow.)
Public methodHandle
Return the handle for a window.
(Inherited from Window.)
Public methodHasExStyle
Check if an exstyle value has been set for the window
(Inherited from Window.)
Public methodHasStyle
Check if a style value has been set for the window
(Inherited from Window.)
Public methodHelpRequest
Provide a method that is invoked when the user requests help from the application using one of the available context-sensitive help mechanisms.
(Inherited from Window.)
Public methodHide
Hide this data window so it is not visible.
(Inherited from DataWindow.)
Public methodHorizontalScroll
Provide a method that is invoked when a horizontal scroll bar is scrolled.
(Inherited from DataWindow.)
Public methodHorizontalSlide
Provide a method that is invoked when a horizontal slider's thumb is dragged either by the mouse or the keyboard.
(Inherited from DataWindow.)
Public methodHorizontalSpin
Provide a method that is invoked when a horizontal spinner is spun.
(Inherited from DataWindow.)
Public methodInsertObject
Use the standard Insert Object dialog to insert an OLE object into the focused OLEObject of the data window.
(Inherited from DataWindow.)
Public methodIsEnabled
Report if this window is currently enabled.
(Inherited from Window.)
Public methodIsIconic
Report if this window is currently iconized.
(Inherited from Window.)
Public methodIsVisible (Inherited from DataWindow.)
Public methodIsZoomed
Report if this window is maximized (fills the entire screen).
(Inherited from Window.)
Public methodKeyDown
Provide a method that is invoked when a key on the keyboard is pressed.
(Inherited from Window.)
Public methodKeyUp
Provide a method that is invoked when a key on the keyboard is released.
(Inherited from Window.)
Public methodLineTo
Draw a line on this data window (using the current pen) from the current pen position to a specified point.
(Inherited from DataWindow.)
Public methodListBoxClick
Provide a method that is invoked when an item in a list box owned by this data window is double-clicked.
(Inherited from DataWindow.)
Public methodListBoxSelect
Provide a method that is invoked when an item in a list box owned by this data window is clicked.
(Inherited from DataWindow.)
Public methodListViewColumnClick
Provide a method that is invoked when a list view column header is clicked in a list view control.
(Inherited from Window.)
Public methodListViewItemChanged
Provide a method that is invoked when a list view item has changed.
(Inherited from Window.)
Public methodListViewItemChanging
Provide a method that is invoked when the state of a list view item is about to change.
(Inherited from Window.)
Public methodListViewItemDelete
Provide a method that is invoked when a list view item is deleted in a list view control.
(Inherited from Window.)
Public methodListViewItemDrag
Provide a method that is invoked when a list view item is dragged in a list view control.
(Inherited from Window.)
Public methodListViewItemEdit
Provide a method that is invoked when a list view item is edited in a list view control.
(Inherited from Window.)
Public methodListViewKeyDown
Provide a method that is invoked when a key is pressed in a list view control.
(Inherited from Window.)
Public methodListViewMouseButtonDoubleClick
Provide a method that is invoked when a mouse button is double-clicked in a list view control. This could be used to invoke an "edit screen" for the selected item, print a report, etc. See the ListViewMouseButtonDown() method for sample syntax.
(Inherited from Window.)
Public methodCode exampleListViewMouseButtonDown
Provide a method that is invoked when a mouse button is clicked in a list view control.
(Inherited from Window.)
Public methodMenuCommand
Provide a method that is invoked when an item on a menu owned by this window is selected.
(Inherited from Window.)
Public methodMenuInit
Provide a method that is invoked when a pop-up menu owned by this window is about to "pop up."
(Inherited from Window.)
Public methodMenuSelect
Provide a method that is invoked when an item on a menu owned by this window is selected.
(Inherited from AppWindow.)
Public methodMinMaxInfo
Provide a method that is invoked when the size or position of a window is about to change (cf WM_GETMINMAXINFO in Win API).
(Inherited from Window.)
Public methodModifyTrayIcon
Modify the tray icon associated with the window.
(Inherited from Window.)
Public methodMonthCalSelectionChanged
Provide a method that is invoked when the selection of a MonthCalendar control is changed.
(Inherited from Window.)
Public methodMouseButtonDoubleClick
Provide a method that is invoked when the mouse pointer is positioned over the window and a mouse button is double-clicked.
(Inherited from Window.)
Public methodMouseButtonDown
Provide a method that is invoked when the mouse pointer is positioned over the window and a mouse button is clicked.
(Inherited from DataWindow.)
Public methodMouseButtonUp
Provide a method that is invoked when the mouse pointer is positioned over the window and a mouse button is released.
(Inherited from Window.)
Public methodMouseDrag
Provide a method that is invoked when a mouse with one or more buttons clicked is moved in the window.
(Inherited from Window.)
Public methodMouseMove
Provide a method that is invoked when the mouse pointer is positioned over the window and a mouse button is released.
(Inherited from Window.)
Public methodMouseTrapOff
Disable the window from trapping MouseEvents generated outside itself.
(Inherited from Window.)
Public methodMouseTrapOn
Enable this window to trap MouseEvents generated outside itself.
(Inherited from Window.)
Public methodMove
Provide a method that is invoked when the window is moved (either by the user or by the application).
(Inherited from Window.)
Public methodMoveTo
Move the current pen to a point on the data window's canvas area.
(Inherited from DataWindow.)
Public methodNotify
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.
(Inherited from DataWindow.)
Public methodOK
Accept all information entered in this data window and close the window.
(Inherited from DataWindow.)
Public methodOLEDragEnter
Called whenever the mouse enters the window's client area during a drag and drop operation.
(Inherited from AppWindow.)
Public methodOLEDragLeave
Called whenever the mouse leaves the window's client area during a drag and drop operation.
(Inherited from AppWindow.)
Public methodOLEDragOver
Called whenever the mouse moves within the window's client area during a drag and drop operation.
(Inherited from AppWindow.)
Public methodCode exampleOLEDrop
Called whenever the mouse is released within the window's client area during a drag and drop operation.
(Inherited from AppWindow.)
Public methodCode exampleOLEInPlaceActivate
Called whenever a child OLE object is about to be "inplace" activated.
(Inherited from DataWindow.)
Public methodCode exampleOLEInPlaceDeactivate
Called whenever a child OLE object is about to be "inplace" deactivated.
(Inherited from DataWindow.)
Public methodOnMdiChildActivated (Inherited from Window.)
Public methodOverride
This is a compatibility method that is no longer used or needed.
(Inherited from EventContext.)
Public methodPaintBackground
Paint the background for a window with the brush or background object that was specified by the user.
(Inherited from Window.)
Public methodPaintBoundingBox
Paint a rectangular area in the data window using a specified painting method.
(Inherited from DataWindow.)
Public methodPaste
Replace the current selection in this data window with the contents of the clipboard.
(Inherited from DataWindow.)
Public methodPasteSpecial
Use the standard Paste Special dialog to insert an OLE object into the focused OLEObject of the data window.
(Inherited from DataWindow.)
Public methodPostInit
Implement customized initialization code for the window.
(Inherited from Window.)
Public methodPreInit
Implement customized initialization code for the window.
(Inherited from Window.)
Public methodPreMenuCommand (Inherited from Window.)
Public methodPreValidate
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.
(Inherited from DataWindow.)
Public methodPrint
Print the contents of the window.
(Inherited from Window.)
Public methodQueryClose
Provide a method that is invoked just before the data window closes to confirm if the application really wants to close the window.
(Inherited from DataWindow.)
Public methodRegisterConditionalControls
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.
(Inherited from DataWindow.)
Public methodRegisterTimer
Register a timer method to be invoked for the window.
(Inherited from Window.)
Public methodRePaint
Send an ExposeEvent to repaint the data window's canvas area.
(Inherited from DataWindow.)
Public methodRepaintBoundingBox
Repaint a rectangular area in the data window.
(Inherited from DataWindow.)
Public methodReportException
This is a compatibility method that is no longer used or needed.
(Inherited from AppWindow.)
Public methodCode exampleReportNotification
Called by ReportQueue when it has a message for the owner window.
(Inherited from AppWindow.)
Public methodResize
Provide a method that is invoked when the window changes size.
(Inherited from Window.)
Public methodResumeLayout (Inherited from Window.)
Public methodRichEditProtected
Provide a method that is invoked when an attempt is made to modify text that is protected in a rich edit control.
(Inherited from Window.)
Public methodRichEditSelectionChange
Provide a method that is invoked when the current selection in a rich edit control is changed.
(Inherited from Window.)
Public methodRichEditUndoLost
Provide a method that is invoked when the undo state in a rich edit control can no longer be maintained.
(Inherited from Window.)
Public methodScroll
Scroll a rectangular area in the window a specified amount, in a specified direction, and optionally clip the area when scrolled.
(Inherited from Window.)
Public methodSeek
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.
(Inherited from DataWindow.)
Public methodSetAlignStartSize
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.
(Inherited from DataWindow.)
Public methodSetBackgroundBrush
Set the background brush used to paint the window.
(Inherited from Window.)
Public methodSetExStyle
Set the extended style of a window.
(Inherited from Window.)
Public methodSetFocus
Set the keyboard focus to this window.
(Inherited from Window.)
Public methodSetHandle
This methdod allows to set or change the handle of the window. This is normally done right after the window is created.
(Inherited from Window.)
Public methodCode exampleSetRelation
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.
(Inherited from DataWindow.)
Public methodCode exampleSetSelectiveRelation
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.
(Inherited from DataWindow.)
Public methodSetStyle
Set the styles for the window.
(Inherited from Window.)
Public methodShow
Display a window.
(Inherited from DataWindow.)
Public methodShowBalloonTrayTip
Display a balloon tip for an icon in the tray that is associated with this window.
(Inherited from Window.)
Public methodSizeText
Determine the space needed to print a string on the window in the current font.
(Inherited from Window.)
Public methodSkip
Move forward or backward in the server by a specified number of records.
(Inherited from DataWindow.)
Public methodSkipNext
Move to the next record (identical to Skip(1)).
(Inherited from DataWindow.)
Public methodSkipPrevious
Move to the previous record (identical to Skip(-1)).
(Inherited from DataWindow.)
Public methodStatusMessage
Display a message in an application window's status bar.
(Inherited from AppWindow.)
Public methodStatusOK
Indicate the current validation status of the window through a return code and by setting the DataWindow:Status property.
(Inherited from DataWindow.)
Public methodSuspendLayout (Inherited from Window.)
Public methodSysLinkSelect
Provide a method that is invoked when a a user clicks on a SysLink control.
(Inherited from Window.)
Public methodTabKeyDown
Provide a method that is invoked when a key press occurs in a tab control.
(Inherited from Window.)
Public methodTabSelect
Provide a method that is invoked when a tab is selected in a tab control.
(Inherited from Window.)
Public methodTabSelectionChanging
Provide a method that is invoked when a tab selection is changing in a tab control.
(Inherited from Window.)
Public methodTextPrint
Display a given string on the data window at a specified location using the current font and the current pen color.
(Inherited from DataWindow.)
Public methodTimer
Provide a method to be invoked at specific intervals defined when the timer is registered though the RegisterTimer() method.
(Inherited from Window.)
Public methodToolBarHeightChanged
Provide a method that is invoked when the height of the window's toolbar is changed.
(Inherited from Window.)
Public methodToTop
Move this window "to the front" of the windows lying on the desktop, giving it the input focus.
(Inherited from Window.)
Public methodTrayIconBalloonClicked
Provide a method that is invoked when a tray icon balloon is clicked.
(Inherited from Window.)
Public methodTrayIconBalloonShown
Provide a method that is invoked when a tray icon balloon is shown.
(Inherited from Window.)
Public methodTrayIconBalloonTimeOut
Provide a method that is invoked when a tray icon balloon times out.
(Inherited from Window.)
Public methodTrayIconClicked
Provide a method that is invoked when a user clicks on a tray Icon
(Inherited from Window.)
Public methodTreeViewItemDelete
Provide a method that is invoked when a tree view item is deleted in a tree view control.
(Inherited from Window.)
Public methodTreeViewItemDrag
Provide a method that is invoked when a tree view item is dragged in a tree view control.
(Inherited from Window.)
Public methodTreeViewItemEdit
Provide a method that is invoked when a tree view item is edited in a tree view control.
(Inherited from Window.)
Public methodTreeViewItemExpanded
Provide a method that is invoked when a tree view item is expanded in a tree view control.
(Inherited from Window.)
Public methodTreeViewItemExpanding
Provide a method that is invoked when a tree view item is expanding in a tree view control.
(Inherited from Window.)
Public methodTreeViewKeyDown
Provide a method that is invoked when a key is pressed in a tree view control.
(Inherited from Window.)
Public methodTreeViewMouseButtonDoubleClick
Provide a method that is invoked when a mouse button is double-clicked in a tree view control.
(Inherited from Window.)
Public methodTreeViewMouseButtonDown
Provide a method that is invoked when a mouse button is clicked in a tree view control.
(Inherited from Window.)
Public methodTreeViewSelectionChanged
Provide a method that is invoked when the selection has changed from one tree view item to another in a tree view control.
(Inherited from Window.)
Public methodTreeViewSelectionChanging
Provide a method that is invoked when the selection is changing from one tree view item to another in a tree view control.
(Inherited from Window.)
Public methodUndo
Undo recent changes made in this data window.
(Inherited from DataWindow.)
Public methodUndoAll
Undo all changes made in this data window since the last record movement or Commit() operation.
(Inherited from DataWindow.)
Public methodUpdate
Update the client area of the specified window.
(Inherited from Window.)
Public methodUpdateActiveObject
Update the toolbars of any in-place active OLE objects.
(Inherited from DataWindow.)
Public methodUse
Connect the data window to a data server in a client-server relationship.
(Inherited from DataWindow.)
Public methodValidateRecord (Inherited from DataWindow.)
Public methodVerticalScroll
Provide a method that is invoked when a vertical scroll bar is scrolled.
(Inherited from DataWindow.)
Public methodVerticalSlide
Provide a method that is invoked when a vertical slider's thumb is dragged either by the mouse or the keyboard.
(Inherited from DataWindow.)
Public methodVerticalSpin
Provide a method that is invoked when a vertical spinner is spun.
(Inherited from DataWindow.)
Public methodViewAs
Specify the view mode of the data window, as browse view or form view.
(Inherited from DataWindow.)
Public methodViewForm
Select form view for the data window.
(Inherited from DataWindow.)
Public methodViewTable
Select browse view for the data window.
(Inherited from DataWindow.)
Public methodWarningMessage
Display a message in an warning box.
(Inherited from AppWindow.)
Top
See Also