[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Centralise text on a form?

  • Thread starter Thread starter Ken Ward
  • Start date Start date
Status
Not open for further replies.
K

Ken Ward

Guest
It depends on how you look at it. Assuming we're working in a system like dots, twips, or inches, replace "TextLength" with "TextWidth". Just make sure all the variables are in the same units. There are Windows API functions and .Net methods that can measure the width of a piece of text given the font used.

Continue reading...
 
Status
Not open for further replies.
Back
Top