Autor Beitrag
smepal
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 68

Win XP, Linux Mandbrake,SUSE 10.1, SUSE 9 PE, DEBIAN, Win 2000 Pro, Win XP Pro
Delphi
BeitragVerfasst: Mi 19.07.06 11:26 
also ich habe diesen Code
ausblenden Delphi-Quelltext
1:
form3.Left := Form1.Left;					

so und beim komplimieren kommt die Fehlermeldung:
ausblenden Quelltext
1:
[Fehler] pl.pas(295): E2010 Inkompatible Typen: 'Integer' und 'TLabel'					


Wie kann das sein?
der Berliner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 417

Win Xp Home
delphi 2005
BeitragVerfasst: Mi 19.07.06 11:35 
kann es sein das der fehler in einer anderen zeile ist.
zeig doch mal mehr code.
gruß

_________________
[b]Ich weiß nicht immer, wovon ich rede. Aber ich weiß, dass ich recht habe.[b]
smepal Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 68

Win XP, Linux Mandbrake,SUSE 10.1, SUSE 9 PE, DEBIAN, Win 2000 Pro, Win XP Pro
Delphi
BeitragVerfasst: Mi 19.07.06 11:42 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
procedure TForm3.FormShow(Sender: TObject);
begin
  form3.Left := Form1.Left;
  form3.Top := (Form1.Top + (Form1.Height div 2)) - (form3.Height div 2);
end;

das sind die relevanten Zeilen. Ohne diese ist auch kein Fehler da!
der Berliner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 417

Win Xp Home
delphi 2005
BeitragVerfasst: Mi 19.07.06 11:54 
Daran ist ja erstmal nichts verkehrt.
Poste doch mal den Deklarationsteil deiner Untits.

_________________
[b]Ich weiß nicht immer, wovon ich rede. Aber ich weiß, dass ich recht habe.[b]
Robert.Wachtel
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 895
Erhaltene Danke: 7

Windows 7 Ultimate x64
D5 Ent, D7 Arch, RAD Studio 2010 Pro, VS 2008
BeitragVerfasst: Mi 19.07.06 11:58 
Du hast nicht zufällig irgendwo ein Label namens Left?
smepal Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 68

Win XP, Linux Mandbrake,SUSE 10.1, SUSE 9 PE, DEBIAN, Win 2000 Pro, Win XP Pro
Delphi
BeitragVerfasst: Mi 19.07.06 12:23 
:roll: :roll: :roll: :roll: :roll: :D :D :D :D :D :D :D :D
doch omg bin ich blöd