using keyUp to update a fld's style
Terry Judd
tsj at unimelb.edu.au
Thu Feb 27 01:03:00 EST 2003
>--- Terry Judd <tsj at unimelb.edu.au> wrote:
>> 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
>>
>
>Hi Terry,
>
>Have a look at the entries for the 'rawKeyDown' and
>'rawKeyUp' messages in the Transcript Dictionary.
>
>Hope this helped,
Indeed it did - thanks Jan!
>Jan Schenkel.
Perfect!!
--
___________________________________________________________________________
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