Hi Jaque,

I needed to know where the hGrid line of line 1 shows.

I did not get there by adding:

top of field, topMargin, borderSize and effective textHeight. 

So I don't know what I missed but that calculation gives me a 7 pixel offset
i.e. the position is 7 pixel below the hGrid of line 1. I don't know what
these 7 pixel are.
Then I went into experimentation mode and found that empiric formula.

Maybe someone has an idea how to calculate the hGrid position of line 1 of
an EMPTY field in a straight forward way.

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Vertically-aligning-text-in-a-field-tp4686824p4686975.html
Sent from the Revolution - User mailing list archive at Nabble.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

Reply via email to