Scroll a field to a specified line number

Niggemann, Bernd Bernd.Niggemann at
Mon Aug 17 03:23:07 EDT 2020

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 - (the top of field 1 + the borderwidth of field 1)

Kind regards

More information about the use-livecode mailing list