ich habe folgende Procedure geschrieben:
Code: Alles auswählen
procedure TForm1.RadioGroup1Click(Sender: TObject);
var boardpreislabel : string;
begin
showmessage('hier bin ich');
anzahl1 := strtoint(edit1.Text);
case radiogroup1.ItemIndex of
0 : boardpreis := 56.66;
1 : boardpreis := 128.37;
2 : boardpreis := 291.94;
3 : boardpreis := 0.00;
end;
gesamt[1] := boardpreis * anzahl1;
str(gesamt[1]:7:2,boardpreislabel);
label2.Caption:= '€' + boardpreislabel;
end;
Danke für Eure Hilfe und Tipps
MfG
Günter