Clicked  DBError

Chapter 8: DataWindow Events

Constructor

Description

Occurs when the DataWindow control or DataStore object is created, just before the Open event for the window that contains the control.

PocketBuilder event information Event ID: pbm_constructor

Returns

There are no special outcomes for this event. The only code is:

Usage

You can write code for the Constructor event to affect DataWindow properties before it is displayed.

Examples

Example 1

This example retrieves data for the DataWindow dw_1 before its window is displayed:

dw_1.SetTransObject(SQLCA)

dw_1.Retrieve( )

See also





Copyright © 2004. Sybase Inc. All rights reserved. DBError

View this book as PDF