automatic scrolling a field to the bottom when Text is entered

Klaus Major k_major at os.surf2000.de
Tue Jan 21 13:14:00 EST 2003


Hi Blörnke,

Am Dienstag, 21.01.03 um 17:15 Uhr schrieb Chipp Walters:

> Björnke,
>
> Couple of things,
>
> 1) I typically use
>
> select after last char in fld
>
> to move the cursor to the end
>
> 2) Why not just edit the libUrlSetLogField handler to do what you want?
> Seems a pretty easy hack.

Wonderful idea.

I had a situation where a field should be scrolled after text-input by 
script
AND i wanted to be alerted in that case

So i wrote this little handler, used it and all was well ;-)

on skrollan
   set the scroll of fld "xxx" to the formattedheight of fld "xxx" - the 
height of fld "xxx"
   ### official syntax ;-)
   beep
end skrollan



Regards

Klaus Major
k_major at os.surf2000.de



More information about the use-livecode mailing list