so... vielen dank für die schnellen antworten
habe es jetzt so gemacht
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15:
| procedure TForm1.RadioButton2Click(Sender: TObject); var a,b,c:real; begin
a:= strtofloat(label2.caption); b:= strtofloat(label18.caption); c:= a * b; label2.caption := floattostr(c); label20.caption:='Bytes';
a:= strtofloat(label1.caption); b:= strtofloat(label18.caption); c:= a * b; label1.caption := floattostr(c); label22.caption:='Bytes'; |
so kann ich mit ein zweiten zwischne byte und KB schalten!
ABER nun ein anderes Prob. und zwar
muss ich mit ein button (clickon),ein
RadioButton zurück setzten bzw. auf true sezen???
Das muss ja irgendwie in dir richung
RadioButton1:= 'true'
gehen, oder?
PS:sorry bin wirklich noch anfänger...
Moderiert von
UGrohne: Delphi-Tags hinzugefügt.