Michael: > set the vScroll of fld 1 to (60 * the effective textHeight of fld 1) > Clicking the button takes me to line 65, and when I set the > list behaviour to true the button scrolls me to line 69 Bernd: > turn "fixedLineHeight" on for the field And subtract a line. Because when scroll is 0, we already see line 1. To reach line 60, we don't need to add 60 to 1. 1 + 59 = 60. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ _______________________________________________ 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
Re: Scroll a field to a specified line number
Curry Kenworthy via use-livecode Mon, 17 Aug 2020 00:55:58 -0700
- Scroll a field to a specified line numbe... Michael Lew via use-livecode
- Re: Scroll a field to a specified l... Curry Kenworthy via use-livecode
- Re: Scroll a field to a specified l... Niggemann, Bernd via use-livecode