How to find the column and row of a basic tableField

Bob Sneidar bobsneidar at iotecdigital.com
Fri Apr 3 11:14:43 EDT 2020


Probably has to do with margins.

Bob S


On Apr 2, 2020, at 11:42 PM, Håkan Liljegren via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

It works for tables with or without date but doesn’t handle tables with variable row heights as that was not the case at the moment. To get it pixel-perfect I needed to compensate the row calculation with 5 pixels and the column with -2 as you can see in my code. Does anyone know why? Is it the same reason that if you set the margins of a field to 0 you often get the first line clipped?

Keep Safe!

:-Håkan



More information about the use-livecode mailing list