Recent

Author Topic: Text alignment in TEdit  (Read 5732 times)

Jean-Marc_Levecque

  • Newbie
  • Posts: 1
Text alignment in TEdit
« on: January 01, 2005, 10:56:05 pm »
New on Lazarus, and just starting with simple tests, I noticed that a TEdit has an Align property which seems not applicable to that control.  Would it be a good idea to delete this one and replace it with an Alignment property of TAlignment type to play with the text position ?  This TAlignment type is already implemented and used for other components.

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Text alignment in TEdit
« Reply #1 on: January 03, 2005, 10:09:38 am »
Align applies to the text displayed by the components while alignment applies to all components and is their position relative to the parent and other components.
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Text alignment in TEdit
« Reply #2 on: January 03, 2005, 11:15:44 am »
Lightning, it is the other way around:
Align for component placement/size on the form, Alignment for text.

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Text alignment in TEdit
« Reply #3 on: January 04, 2005, 11:20:17 pm »
Oh, sorry :)
I was in a hurry, well i guess he got the ideea.
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

 

TinyPortal © 2005-2018