Einzelnen Beitrag anzeigen

Mangafreak1995

Registriert seit: 30. Dez 2009
Ort: Harpstedt
22 Beiträge
 
Delphi 7 Enterprise
 
#1

TShape - stCircle usw wird nicht erkannt

  Alt 13. Mär 2010, 20:12
Zum Problem (siehe Titel) noch ein bischen Hintergrundinfo:
Delphi-Quellcode:
case shape1.Shape of // 108
  stCircle : combo1.ItemIndex := 2; // 109
  stRoundSquare : combo1.ItemIndex := 1; // 110
  stSquare : combo1.ItemIndex := 0; // 111
end; // 112
case shape2.Shape of // 113
  stCircle : combobox1.ItemIndex := 2; // 114
  stRoundSquare : combobox1.ItemIndex := 1; // 115
  stSquare : combobox1.ItemIndex := 0; // 116
end; // 117
jetzt die Fehlermeldung(en) ever:
Zitat:
[Fehler] Unit2.pas(109): Undefinierter Bezeichner: 'stCircle'
[Fehler] Unit2.pas(110): Undefinierter Bezeichner: 'stRoundSquare'
[Fehler] Unit2.pas(110): Doppeltes Case-Label
[Fehler] Unit2.pas(111): Undefinierter Bezeichner: 'stSquare'
[Fehler] Unit2.pas(115): Doppeltes Case-Label
[Fehler] Unit2.pas(116): Doppeltes Case-Label
warum werden die st-Konstanten nicht anerkannt ?
was soll mir die Meldung : "Doppeltes Case-Label" sagen ?
If Not(VS2008.DoWhatIWantTo) Then Process.Start("delphi32.exe");
  Mit Zitat antworten Zitat