Back to product page

KeyPress event


Fires when key was pressed.

Syntax

  • Basic
Private Sub object_KeyPress(Item, KeyAscii)
The KeyPress(object,Item,KeyAscii) syntax has these parts:
objectA wodFtpDLX object.
ItemA DirItem object. Reference to item that was selected when user pressed the key.
KeyAsciiA Long value. ASCII character key value.

Remarks

Available only in ActiveX (GUI) version!

KeyPress event is fired when user presses key while wodFtpDLX has focus. You can perform some application specific functions based on user's keypress. You can set KeyAscii value to 0 in order for wodFtpDLX to ignore that key, to behave like it was never pressed at all.

Platforms

Windows