ItemFocusChanged  LoseFocus

Chapter 8: DataWindow Events

KeyDown

Description

Occurs for each keystroke when the user is editing in the DataWindow edit control.

PocketBuilder event information Event ID: pbm_dwnkey

KeyDown is not a standard DataWindow event. To write a script for this event, you must first define a user-defined event for the event ID pbm_dwnkey.

Argument

Description

key

Integer by value.

keyflags

UnsignedLong by value. The modifier keys that are pressed. The keyflags value is the sum of the values for all the pressed keys.

Key values are:

  • 1 Shift key

  • 2 Ctrl key

  • 3 Shift + Ctrl keys

Returns

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





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

View this book as PDF