Keeping a field scroll at the bottom as lines come in
Dan Friedman
dan at clearvisiontech.com
Sun Jan 25 16:07:59 EST 2004
Rob,
Let me also welcome you to Revolution! When I add text to list fields, I
usually want to hilite the new line of text. So, here's what I do:
on addALineOfText someText, fieldName
put the number of lines in field fieldName into nLine
put someText into line nLine+1 of field fieldName
set the hilitedLines of field fieldName to nLine+1
end addALineOfText
Setting the hilitedLines of a list field will automatically scroll the field
to that line.
Hope that helps...
-Dan
> 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?
>
> Thanks
>
>
> --
> All best wishes,
> Rob
More information about the use-livecode
mailing list