Autor Beitrag
ChriZmaster
Hält's aus hier
Beiträge: 1

win xp, linux

BeitragVerfasst: Sa 23.07.05 16:57 
Hallo,

brauche unbedingt eure Hilfe bei folgendem Problem:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm17.Button1Click(Sender: TObject);
var
x: string;
begin
   x:= liq.top1.Caption; // top1 ist ein Label auf dem Formular liq
end;

erhalte die Compilermeldung: "Record, Object oder Klassentyp erforderlich"
hab echt keine ahnung wo das Problem ist....



Danke im voraus für eure hilfe....

Christoph

Moderiert von user profile iconraziel: Delphi-Tags hinzugefügt.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 24.07.05 13:21 
erprüfe einmal, ob die Unit, in der liq definiert ist, in der Uses von Form17 enthalten ist. Nicht immer fügt er benötigte Units automatisch hinzu.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.