Autor Beitrag
Ken-san
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 78

WIN: XP, 2000 LINUX: SUSE
Pascal, Delphi 5 Prof, C, C++
BeitragVerfasst: Mi 21.01.04 14:23 
Hallo Leute :D


Also folgendes Problem ind das Richeditfeld (hier REdiEinzelartikel) soll eine artikelnummer eingetragen werden die von 0 bis ZZZZZZZZZZ gehen kann das Problem ist er Schreibt mir das nicht in die TStringlist(hier s) rein sonder gibt einen Error :cry:


ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
IF Key = VK_Return then
  begin
  s.Text := REdiEinzelArtikel.text;
  REdiEinzelArtikel.text := '';
  REdiEinzelArtikel.SetFocus;
  end;


1. Sollte ich ander Komponten benutzten
2.welche und warum

kann m,ir da jemand helfen??? :?:

Moderiert von user profile iconPeter Lustig: Code- durch Delphi-Tags ersetzt

_________________
SNAFU: Same Normal All f*** Up
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Mi 21.01.04 14:25 
Zitat:

sonder gibt einen Error

ich hab hier keine Lust zu raten. :roll:

welchen Fehler denn und in welcher Zeile?
ist s deine Stringlist? hast du sie auch erzeugt?

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Ken-san Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 78

WIN: XP, 2000 LINUX: SUSE
Pascal, Delphi 5 Prof, C, C++
BeitragVerfasst: Mi 21.01.04 14:37 
Hi

ich habe die String list als puplic variable declariert muss ich sie dann noch zusätzlich erzeugen :?:

Der error Lautet:

ausblenden Quelltext
1:
Projekt xxxxxx.exe raised exeption class EAccessViolation with massage 'Access violation at adress 0044B0c7 in module 'xxxxxx.exe'.read of Adress 00000000'.Process stopped.Use Step or Run to continue					


Ich hoffe du kannst was mit dem Kauderwelch anfangen

Kenny

_________________
SNAFU: Same Normal All f*** Up
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Mi 21.01.04 14:51 
Ken-san hat folgendes geschrieben:
Hi

ich habe die String list als puplic variable declariert muss ich sie dann noch zusätzlich erzeugen :?:


ja
ausblenden Delphi-Quelltext
1:
s:=Tstringlist.create;					

und nach ende der nutzung noch ein s.free; wo du deine Liste am besten erzeugst, kann ich dir nicht sagen., hängt davon ab, wo und für was du sie verwendest, da werd ich aus deinem Codeschnipsel nicht schlau.

mach dich mal über oop-grundlagen vertraut. unter www.delphi-source.de findest du gute tuts und grundlagen

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Ken-san Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 78

WIN: XP, 2000 LINUX: SUSE
Pascal, Delphi 5 Prof, C, C++
BeitragVerfasst: Mi 21.01.04 14:58 
Titel: Danke
Hallo Keldorn

Also jetzt funktioniert es ich danke dir :D
und werde deine Hinweise hinsichtlich angaben im Forum befolgen :lol:

Kenny