Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] fields and keyboard

From: riusa:email:it at: 29-Jan-2002 15:14

Hi to everyone! I'm a almost new Rebol user, and I wish some inform about keyboard control in "field" of layout/view. I wish to create a routine to convert to uppercase everything typed inside the field. I tried with "feel"->engage, but I cannot write anything inside the field. So I tried with "feel"->detect... I wrote inside the field, but "detect" didn't detect keypress!!! (windows 2000) I found a top-level script to create a new event handler for the layout view, but the fuction is recalled before the key is written in the field... result? I have the most recent key never converted: Ab ABc ABCd (and so on...) Can I detect when the user enter in the field, and when he exits (mouse or tab or enter key)? Can I detect every keypress, but letting the control of the cursor to the user (a mix of "engage" and "detect"). Thank you! Bye! -- Prendi GRATIS l'email universale che... risparmia: Sponsor: Più siamo, meno paghiamo: unisciti a un gruppo d’acquisto di! Clicca qui: