Scroll to end of field

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
larryh
Posts: 32
Joined: Sat Mar 22, 2008 6:02 pm

Scroll to end of field

Post by larryh » Tue Apr 28, 2009 1:08 am

I am appending outputs in a scrolling field and want the field to automatically scroll to the last line everytime I add new lines. How would I do this? I'm looking for something like "go to last line of fld 'Log'"

Help appreciated :D

larryh
Posts: 32
Joined: Sat Mar 22, 2008 6:02 pm

Post by larryh » Tue Apr 28, 2009 1:24 am


Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Contact:

Post by Mark Smith » Tue Apr 28, 2009 11:02 pm

Something like:

set the vScroll of fld someField to the formattedHeight of fld "someField

best,

Mark Smith

Post Reply