using keyUp to update a fld's style

Terry Judd tsj at unimelb.edu.au
Thu Feb 27 00:37:00 EST 2003


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?
-- 
___________________________________________________________________________
Dr Terry Judd

Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Email: t.judd at bmu.unimelb.edu.au
Phone: 03 9344 0187
Fax: 03 9344 4998
___________________________________________________________________________



More information about the use-livecode mailing list