First Use

Dave Cragg dcragg at lacscentre.co.uk
Mon Aug 2 16:35:39 EDT 2004


On 2 Aug 2004, at 17:24, Nonsanity wrote:
>
> The other problem was the seeming lack of a way to set the scroll of a 
> text field from a script. Not knowing the current whereabouts of 
> Danny's old book, I'm going on memory but shouldn't there be a command 
> like:
>
> set the scroll of fld "Output" to 30000
>
> I often used this to scroll to the bottom of a long field that I was 
> continually adding to.
>

Others have mentioned the vScroll property, but "scroll" is a synonym 
for vScroll. To scroll to the bottom of a field, you can do this:

   set the scroll of field "output" to the formattedHeight of field 
"output"


Cheers
Dave



More information about the use-livecode mailing list