Курсовая работа: Побудова клавіатурного тренажера
if (slitera=='b') b->Font->Color=clRed; else b->Font->Color=clBlack;
if (slitera=='n') n->Font->Color=clRed; else n->Font->Color=clBlack;
if (slitera=='m') m->Font->Color=clRed; else m->Font->Color=clBlack;
}
if (rezhim==2) {
if (slitera=='й') q1->Font->Color=clRed; else q1->Font->Color=clBlack;
if (slitera=='ц') w1->Font->Color=clRed; else w1->Font->Color=clBlack;
if (slitera=='у') e1->Font->Color=clRed; else e1->Font->Color=clBlack;
if (slitera=='к') r1->Font->Color=clRed; else r1->Font->Color=clBlack;
if (slitera=='е') t1->Font->Color=clRed; else t1->Font->Color=clBlack;
if (slitera=='н') y1->Font->Color=clRed; else y1->Font->Color=clBlack;
if (slitera=='г') u1->Font->Color=clRed; else u1->Font->Color=clBlack;
if (slitera=='ш') i1->Font->Color=clRed; else i1->Font->Color=clBlack;
if (slitera=='щ') o1->Font->Color=clRed; else o1->Font->Color=clBlack;
if (slitera=='з') p1->Font->Color=clRed; else p1->Font->Color=clBlack;
if (slitera=='х') p11->Font->Color=clRed; else p11->Font->Color=clBlack;
if (slitera=='ї') p111->Font->Color=clRed; else p111->Font->Color=clBlack;
if (slitera=='ф') a1->Font->Color=clRed; else a1->Font->Color=clBlack;
if (slitera=='і') s1->Font->Color=clRed; else s1->Font->Color=clBlack;
if (slitera=='в') d1->Font->Color=clRed; else d1->Font->Color=clBlack;
if (slitera=='а') f1->Font->Color=clRed; else f1->Font->Color=clBlack;
if (slitera=='п') g1->Font->Color=clRed; else g1->Font->Color=clBlack;
if (slitera=='р') h1->Font->Color=clRed; else h1->Font->Color=clBlack;
if (slitera=='о') j1->Font->Color=clRed; else j1->Font->Color=clBlack;
if (slitera=='л') k1->Font->Color=clRed; else k1->Font->Color=clBlack;
if (slitera=='д') l1->Font->Color=clRed; else l1->Font->Color=clBlack;
if (slitera=='ж') l11->Font->Color=clRed; else l11->Font->Color=clBlack;
if (slitera=='є') l111->Font->Color=clRed; else l111->Font->Color=clBlack;
if (slitera=='я') z1->Font->Color=clRed; else z1->Font->Color=clBlack;