Locating a line in a scrolling list field

Peter Haworth pete at lcsql.com
Sun Nov 11 11:41:03 EST 2012


I have a need to determine the pixel location of the hilited line in a
scrolling list field when the user clicks on it.

Let's say that the field is deep enough to display 10 lines and that there
are 500 total lines in the field.  The hilitedline property is relative to
the total number of lines (500), not the line number within the 10
currently displayed.

I seem to remember seeing something about this on the list in the past but
haven't been able to turn anything up with a search and my spacial geometry
skills are pretty close to zero so any pointers would be gratefully
appreciated!

Pete
lcSQL Software <http://www.lcsql.com>



More information about the use-livecode mailing list