Keeping a field scroll at the bottom as lines come in
Dave Cragg
dcragg at lacscentre.co.uk
Sun Jan 25 15:57:28 EST 2004
At 8:25 pm +0000 25/1/04, Rob Beynon wrote:
>Greetings, My first post, and a naive one, I suspect..
>
>I am using an interactive mode to send a line of text to the end of a
>field ('after') which is visible. Then, as the field fills, it doesn't
>scroll to show the last line, it just moves the thumb upwards.
>
>I'd really like to see the last line entered, irrespective of the
>length of the field. Can this be done?
put <whatever> after field "myField"
set the scroll of field "myField" to the formattedHeight of field "myField"
It's not a very elegant solution, but as the formattedHeight will be
always larger than the maximum scroll value, it'll do the job.
Dave
More information about the use-livecode
mailing list