Board index » delphi » align corners
Shahram Shafieha
![]() Delphi Developer |
Shahram Shafieha
![]() Delphi Developer |
align corners2004-05-01 07:05:15 PM delphi228 Hi all, As you know for most compnents there is a property such as Align which you can specify alignment of the component. Is there any easy way that can specify alignment for the corners. Something like Align := alTopLeft or Align := alBottomRight? |
Florian Haag
![]() Delphi Developer |
2004-05-02 01:28:51 AM
Re:align corners
"Shahram Shafieha" <XXXX@XXXXX.COM>schrieb im Newsbeitrag
QuoteHi all, The simplest solution to this should be: // "alBottomRight" with MyControl do begin Left := 0; Top := Parent.ClientHeight - Height; Anchors := [akLeft, akBottom]; end; Regards, -- Florian Haag |