002
31.12.2007, 15:55 Uhr
curlycurl
|
Hmm ja nun haben wir in der Schule aber immer nur damit gearbeitet. UNd ich möchte das Programm doch gerne noch zu Ende basteln. Dann werde ich mich sowieso mit den Grunddingen auseinandersetzen müssen.
Ich möchte nun ausdrücken , dass alle edtXX die ich nicht bestimmt habe den Wert "0" bekommen.. wie fasse ich die restlichen denn zusammen?
(edt3, edt5, edt80)->text = 0;
irgendwie sowas?
greetz
Auszug:
edt1->Text = 7; edt1->ReadOnly = true; edt1->Font->Style = TFontStyles()<< fsBold;
edt2->Text = 2; edt2->ReadOnly = true; edt2->Font->Style = TFontStyles()<< fsBold;
edt3->Text = 3; edt3->ReadOnly = true; edt3->Font->Style = TFontStyles()<< fsBold;
edt7->Text = 1; edt7->ReadOnly = true; edt7->Font->Style = TFontStyles()<< fsBold;
edt8->Text = 5; edt8->ReadOnly = true; edt8->Font->Style = TFontStyles()<< fsBold;
edt9->Text = 9; edt9->ReadOnly = true; edt9->Font->Style = TFontStyles()<< fsBold;
edt10->Text = 6; edt10->ReadOnly = true; edt10->Font->Style = TFontStyles()<< fsBold;
edt13->Text = 3; edt13->ReadOnly = true; edt13->Font->Style = TFontStyles()<< fsBold;
edt15->Text = 2; edt15->ReadOnly = true; edt15->Font->Style = TFontStyles()<< fsBold;
edt18->Text = 8; edt18->ReadOnly = true; edt18->Font->Style = TFontStyles()<< fsBold;
edt19->Text = 8; edt19->ReadOnly = true; edt19->Font->Style = TFontStyles()<< fsBold;
edt23->Text = 1; edt23->ReadOnly = true; edt23->Font->Style = TFontStyles()<< fsBold;
edt27->Text = 2; edt27->ReadOnly = true; edt27->Font->Style = TFontStyles()<< fsBold;
edt29->Text = 7; edt29->ReadOnly = true; edt29->Font->Style = TFontStyles()<< fsBold;
edt31->Text = 6; edt31->ReadOnly = true; edt31->Font->Style = TFontStyles()<< fsBold;
edt32->Text = 5; edt32->ReadOnly = true; edt32->Font->Style = TFontStyles()<< fsBold;
edt33->Text = 4; edt33->ReadOnly = true; edt33->Font->Style = TFontStyles()<< fsBold;
edt35->Text = 2; edt35->ReadOnly = true; edt35->Font->Style = TFontStyles()<< fsBold;
edt39->Text = 4; edt39->ReadOnly = true; edt39->Font->Style = TFontStyles()<< fsBold;
edt40->Text = 2; edt40->ReadOnly = true; edt40->Font->Style = TFontStyles()<< fsBold;
edt42->Text = 7; edt42->ReadOnly = true; edt42->Font->Style = TFontStyles()<< fsBold;
edt43->Text = 3; edt43->ReadOnly = true; edt43->Font->Style = TFontStyles()<< fsBold;
edt47->Text = 5; edt47->ReadOnly = true; edt47->Font->Style = TFontStyles()<< fsBold;
edt49->Text = 9; edt49->ReadOnly = true; edt49->Font->Style = TFontStyles()<< fsBold;
edt50->Text = 3; edt50->ReadOnly = true; edt50->Font->Style = TFontStyles()<< fsBold;
edt51->Text = 1; edt51->ReadOnly = true; edt51->Font->Style = TFontStyles()<< fsBold;
edt53->Text = 4; edt53->ReadOnly = true; edt53->Font->Style = TFontStyles()<< fsBold;
edt55->Text = 5; edt55->ReadOnly = true; edt55->Font->Style = TFontStyles()<< fsBold;
edt59->Text = 7; edt59->ReadOnly = true; edt59->Font->Style = TFontStyles()<< fsBold;
edt63->Text = 3; edt63->ReadOnly = true; edt63->Font->Style = TFontStyles()<< fsBold;
edt64->Text = 4; edt64->ReadOnly = true; edt64->Font->Style = TFontStyles()<< fsBold;
edt67->Text = 1; edt67->ReadOnly = true; edt67->Font->Style = TFontStyles()<< fsBold;
edt69->Text = 3; edt69->ReadOnly = true; edt69->Font->Style = TFontStyles()<< fsBold;
edt72->Text = 6; edt72->ReadOnly = true; edt72->Font->Style = TFontStyles()<< fsBold;
edt73->Text = 9; edt73->ReadOnly = true; edt73->Font->Style = TFontStyles()<< fsBold;
edt74->Text = 3; edt74->ReadOnly = true; edt74->Font->Style = TFontStyles()<< fsBold;
edt75->Text = 2; edt75->ReadOnly = true; edt75->Font->Style = TFontStyles()<< fsBold;
edt79->Text = 7; edt79->ReadOnly = true; edt79->Font->Style = TFontStyles()<< fsBold;
edt80->Text = 1; edt80->ReadOnly = true; edt80->Font->Style = TFontStyles()<< fsBold;
edt81->Text = 4; edt81->ReadOnly = true; edt81->Font->Style = TFontStyles()<< fsBold;
// So und alle die ich nicht deklariert habe, also die die nun überbleiben, der Rest, sollen den Wert 0 bekomen, ReadOnly = false und Style []
Danke für die Antworten Dieser Post wurde am 31.12.2007 um 16:00 Uhr von curlycurl editiert. |