Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi form2.right (https://www.delphipraxis.net/113052-form2-right.html)

Delphiturbo 1. Mai 2008 22:59


form2.right
 
Hi

warum akzeptiert delphi nur left und kein Right !!!
Delphi-Quellcode:
form2.left:=form1.left; // ok
form2.right:=form1.Right;// aber so ist false !!!

mkinzler 1. Mai 2008 23:00

Re: form2.right
 
Berechne es doch selber mit
Delphi-Quellcode:
 Left := Right - Width;

Delphiturbo 1. Mai 2008 23:14

Re: form2.right
 
ich möchte Form2 und Form1 rechts ausrichten
Delphi-Quellcode:
Form2.Left:=Form1.Left+Form1.Width-Form2.Width; // oder?

mkinzler 1. Mai 2008 23:18

Re: form2.right
 
Delphi-Quellcode:
form2.left := Form1.Left+Form1.Width-form2.Width;

Delphiturbo 2. Mai 2008 10:43

Re: form2.right
 
Danke!
so habe ich überliegt :wink:


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:11 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz