There is a property called the formattedHeight. There is also a property for 
the current scroll, not sure what it is called. Once you know the number of 
lines you have all the variables sorted. Between them you should get pretty 
close if not dead on. 

Bob


On Oct 13, 2011, at 10:05 PM, Ralph DiMola wrote:

> Does anyone know how to find out what lines are currently visible in a field
> with a vertical scrollbar? More importantly can I find out just before they
> are scrolling into view so I can do some stuff to the line(s) just before/as
> they become visible? If I process all the lines (say for 2-3 hundred) it
> take waayyy too long for it to finish and the vertical scrollbar motion or
> highlighting 1 line will not happen until the entire list is processed. I
> put some constructive waits in and it reduces the problem but doesn't fix
> it.
> 
> Thanks
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to