[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
the general formula for centering text (horizontally) goes like this: newXPos = oldXPos + (FieldWidth - TextLength) / 2 This should work with character and graphical layout. I use this all the time with Form, Report, and Label output in our ERP system. BTW: to right-justify, just remove the /2 at the end.

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