New DataWindow Events
\The Sandbox \PB History & Future \New in PB 2 \Painter Features \DataWindow Painter \Events
Assigning
Accelerators
Tag Values
DW Icon
Comments
Changing
Databases
Controlling DW
Updates
OLE Columns
DataWindow
Reports
Dynamic DWs
Runtime Print
Specifications
Displaying the
DDLB Arrow
Displaying
Row Counts
Sort and Filter
Testing
Modifying Result
Sets Descriptions
Moving Object
with Keyboard
Naming Objects
Aggregate
Functions
New Color Bar
Events
DW Functions
New Menu Items
Grid Style
Shortcut Keys
Align Objects
Size Objects
Space Objects
Saving DWs
with Comments
Keyboard Object
Selection
Selecting a Font
Selecting a
Line Edit
Keyboard Sizing
Specifying
SQL Syntax
Background
Color
Timer Interval
Unit of Measure
Validation
Message
DB Table
Changes
Suppressing
Repeating Values
Testing an
OLE Column
Using Comments

DragEnter

A DragEnter event occurs when a dragged object is enters a target object.

DragDrop

A DragDrop event occurs when a dragged object is dropped on a target object.

DragLeave

A DragLeave event occurs when a dragged object is leaves a target object.

DragWithin

A DragWithin event occurs when a dragged object is within a target object.

EditChanged

An EditChanged event occurs when a user types in an edit control in a DataWindow.

    TIP:   In the script for the EditChanged event, you can use GetText to obtain the text of the edit control, SetText to replace the text, and SetColumn to set the current column.

PrintEnd

A PrintEnd event occurs in a DataWindow when the printing of a DataWindow ends.

PrintPage

A PrintPage event occurs in a DataWindow before each page is formatted for printing.  To skip a page, use the SetActionCode function.

Action codes:

    0 - Do not skip a page.
    1 - Skip a page.

PrintStart

A PrintStart event occurs in a DataWindow when the contents of a DataWindow begin printing.

Resize

A Resize event occurs when the user or a script opens a window or resizes a DataWindow or a window.

SQLPreview

An SQLPreview event occurs after a Retrieve, Update, or ReselectRow function call, and immediately before the function is executed.

The SQLPreview event has action codes that specify what action will take place when the event occurs.  You can use the SetActionCode function to set the action code.  The action codes are:

    0 - (default) Continue.
    1 - Stop processing.
    2 - Skip this request and execute the next request.

Note:    When the Retrieve function triggers the SQLPreview event, the DataWindow has already been reset.  When the Update function triggers the SQLPreview event, the DataWindow has not been reset.

SystemKey

A SystemKey event occurs in a window when the insertion point is not in a line edit and the user presses Alt key or Alt+ another key.

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com