using keyUp to update a fld's style
Terry Judd
tsj at unimelb.edu.au
Thu Feb 27 00:46:01 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?
>--
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: t.judd at bmu.unimelb.edu.au
>Phone: 03 9344 0187
>Fax: 03 9344 4998
>___________________________________________________________________________
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>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: t.judd at bmu.unimelb.edu.au
Phone: 03 9344 0187
Fax: 03 9344 4998
___________________________________________________________________________
More information about the use-livecode
mailing list