Hi, if you want to set the textShift dynamically you could this:
------------------------------------------------------- put the long id of field "fFour" into tLID -- change name of field -- calculate a textshift depending on the textHeight and textSize put the effective textHeight of tLID into tTextHeight put the effective textSize of tLID into tTextSize put tTextHeight div 2 into tHalfTextHeight put tTextSize div 2 into tHalfAscend put (tHalfTextHeight - tHalfAscend) * -1 into tShift set the textShift of line 1 to - 1 of tLID to tShift -------------------------------------------------------- measureText would give you additional information about descend, if you want to get fancy. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Request-for-feedback-tp4686363p4686387.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