Autor Beitrag
delphinap
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 42



BeitragVerfasst: Mi 13.04.05 22:44 
Ich habe eine frage. und zwar:

Ich würde gerne wissen, wie man was in ein edit feld eingibt des dann im dyn. array gespeichert wird und dann im memo feld ausgegeben wird.

Ich hoffe (und weiß es) das ihr das könnt =).
thx und cya

edit:
irgendwie sowas hab ich bis jetzt :/
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
VAR Feld:array of real;
    n:integer;
begin
LAusgabe.Caption:=EEingabe.Text;
setlength(Feld,10);
For n := 0 To 9 Do
 Feld [n]:= n + 1;
n:= High (Feld);
n:= length(Feld);


Moderiert von user profile iconMotzi: Code- durch Delphi-Tags ersetzt.
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Mi 13.04.05 23:22 
Ähm. Was möchtest du genau?

Du möchtest eine Liste wo du mittels Edit und Knopfdruck neue Einträge hinzufügen kannst? Das würde ich aber mit einer TListBox machen und auf jeden Fall dann direkt Add in die Liste einfügen. Der Umweg über dynamische Arrays ist unnötig.