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
Hi Michael,
This is because the "fixedLineHeight" is turned off by default since a couple
of versions.
So you either turn "fixedLineHeight" on for the field or you change your code
to something like
-- one line
set the vScroll of fld 1 to the formattedtop of line 60 of field 1
This is an odd one, and I hope that it is a bug. When I try to scroll an
ordinary text field to a specified line number it overshoots, and if I set the
field to have list behaviour it overshoots by even more.
Here's a simple recipe. New stack with a field and a button. Button script is
this:
on