Also nehmen wir an ich habe die Werte:
Edit1:12 Edit2:15 Edit3:16 Edit4:10 Edit5:12,5 Edit6:13,1 Edit7:18 in je einem Edit stehen
dann möchte ich das sie beim kleinsten angefangen in den Edit angezeigt werden. Aber ihre Reihenfolge beibehalten.
Edit110 Edit112,5 Edit113,1 Edit118 Edit112 Edit115 Edit116
Ist das möglich so?
Code: Alles auswählen
begin
inc(n_wert);
if n_wert=1 then Edit3.Text:= FormatFloat('0.00',y_wert);
if n_wert=2 then Edit4.Text:= FormatFloat('0.00',y_wert);
if n_wert=3 then Edit5.Text:= FormatFloat('0.00',y_wert);
if n_wert=4 then Edit6.Text:= FormatFloat('0.00',y_wert);
if n_wert=5 then Edit7.Text:= FormatFloat('0.00',y_wert);
if n_wert=6 then Edit8.Text:= FormatFloat('0.00',y_wert);
if n_wert=7 then Edit9.Text:= FormatFloat('0.00',y_wert);
if n_wert=8 then Edit10.Text:=FormatFloat('0.00',y_wert);
if n_wert=9 then Edit15.Text:=FormatFloat('0.00',y_wert);
if n_wert=9 then