Autor Beitrag
lord.paddington
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: So 09.09.07 12:01 
Was ist denn an diesem Ausdruck falsch?

ausblenden Delphi-Quelltext
1:
SpindEdit1.Value := StrToInt(Memo1.Lines[0]);					



Compiler steigt mit der Fehlerklasse 'EConvertError' aus

Gruß Eure Lordschaft



Moderiert von user profile iconChristian S.: Quote- durch Delphi-Tags ersetzt

_________________
pfutsch ist hin und hin ist pfutsch


Zuletzt bearbeitet von lord.paddington am So 09.09.07 12:08, insgesamt 1-mal bearbeitet
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: So 09.09.07 12:03 
SpinEdit ist eine Komponente und kein Integer.
Wahrscheinlich willst du irgendeine Eigenschaft vom SpinEdit verändern. Die musst du dann aber auch hinschreiben :wink:

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
lord.paddington Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: So 09.09.07 12:10 
hallo!

Habe den Fehler im Beitrag bemerkt und korrigiert-
Im Programm möchte ich natürlich die Eigenschaft ändern.


Bleibt also die Frage von oben

_________________
pfutsch ist hin und hin ist pfutsch
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 09.09.07 12:22 
Ich würde einfach mal darauf tippen, dass in der ersten Zeile des Memos keine Integerzahl drin steht.

_________________
We are, we were and will not be.
TProgger
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 148

XP
D6, D2007 prof
BeitragVerfasst: So 09.09.07 16:15 
Nimm StrToIntDef(Memo1.Lines[0],0), das fängt ab, wenn keine Zahl da drin steht und liefert dann Null.