My best guess at the tme was that the effective modifier ignores the area reserved for the maximum ascenders and descenders. Also char 1 to -1 worked better than line 1 to -1 if I remember correctly.
Ralph DiMola IT Director Evergreen Information Services <div>-------- Original message --------</div><div>From: Richard Gaskin <ambassa...@fourthworld.com> </div><div>Date:04/03/2016 00:05 (GMT-05:00) </div><div>To: use-livecode@lists.runrev.com </div><div>Subject: Re: Set Text to the Vertical Center of the field </div><div> </div>Ralph DiMola wrote: put the EFFECTIVE formattedheight of \ char 1 to -1 of pObj into tFheight There it is! "EFFECTIVE"! Once I use Jacque's technique of omitting the margins by obtaining only the formattedHeight of the text itself, and Ralph's astute awareness that apparently it's possible to have a formattedHeight different from an EFFECTIVE formattedHeight, all four versions of this algo adjusted with those changes work well to produce the same good result. Ralph, help me out here: under what circumstances would the formattedHeight and the effectiveFormattedHeight differ for a range of text? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ ambassa...@fourthworld.com http://www.FourthWorld.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 _______________________________________________ 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