PFormHandler::key()
event.
Synopsis
#include <PLEvt.h>
PKeyEvt(const PFormEvt& e);Constructs a key event from a form event.
Word ascii() const; Word code() const; /* see <Chars.h> */ operator Word() const { return code(); }
Return the ascii or key code.
Boolean pgUp() const; Boolean pgDown() const;True, if the specified key was pressed.
Boolean shift() const; Boolean capsLock() const; Boolean numLock() const; Boolean command() const; Boolean option() const; Boolean control() const; Boolean autoRepeat() const; Boolean doubleTap() const; Boolean poweredOn() const;Query the modifier bits.
inline Word bits() const;Returns the complete set of modifiers. See PalmOS API for details.