Occurs for each keystroke when the user is editing in the DataWindow edit control.
PowerBuilder event information Event ID: pbm_dwnkey
KeyDown is not a standard PowerBuilder 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:
|
Web ActiveX event information Event Name: KeyDown
Argument |
Description |
---|---|
Key |
Number. |
Shift |
Number. A value that is the sum of the values of the modifier keys the user pressed. Values are:
|
There are no special outcomes for this event. The only code is:
0 Continue processing