onKeyPress[Screen]

new topic     » topic index » view thread      » older message » newer message

Erick and Irv, it would seem here, if i understand this correctly, that all
keypresses will cause windows to xfer control to my routine. This seems like
it would be awfully ineficient. would it not be better to somehow give
windows a table of keys i'm interested in as well as a switch to turn this
off (like filling in a screen while adding a customer, at which point most
of those buttons should be disabled) and back on as needed. My doc says that
onKeyPress requires 2 arguments 1) a keycode for the key of interest and 2)
a shift var.... is this format defunct now? Or do I have an older version of
the doc (I'm looking on page 87 of 153 pages. It's also certainly possible
i'm misreading the doc.

Do programmers put their buttons in a separate window from the form being
filled in? Right now all my stuff is in the same window. However even if the
buttons are in a separate window  one might want to enable the 'esc' key to
exit the form and go back to the button window.

...... george


..george

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu