Hi all - I'm using a keyUp handler to toggle an editable fld's style between plain and scrolling according to it's contents by comparing the fld's textHeightSum() and height which all works fine except when the return and delete (or backspace) keys are involved. I've tried trapping these separately using the returnKey (or whatever) message with no apparent result.

Any clues on how best to proceed?
--

Looks like the returnKey problem can be handled via the returnInField message..


on returnInField
  put return after me
  updateStyleStuff
end returnIfField

...however the delete keys remain problematical.

Terry...

___________________________________________________________________________
Dr Terry Judd

Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Email: [EMAIL PROTECTED]
Phone: 03 9344 0187
Fax: 03 9344 4998
___________________________________________________________________________
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


--
___________________________________________________________________________
Dr Terry Judd

Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Email: [EMAIL PROTECTED]
Phone: 03 9344 0187
Fax: 03 9344 4998
___________________________________________________________________________
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to