W
Supi genau das wollte ich
für jeden den es interessiert hab hier meine Lösung dafür würde bestimmt noch eleganter gehen aber für mich reicht es erst mal
this->RTBKommentar->Text = "Kundenname: \n"+row->ItemArray[0]->ToString()+ "\n\n" +
"Strasse : \n"+row->ItemArray[2]->ToString()+ "\n\n" +
"Ort: \n"+row->ItemArray[1]->ToString()+ "\n\n" +
"Land: \n"+row->ItemArray[4]->ToString()+ "\n\n" +
"Kommentar: \n"+row->ItemArray[3]->ToString()+ "\n" ;
this->RTBKommentar->Find("Kundenname:", RichTextBoxFinds::MatchCase);
this->RTBKommentar->SelectionFont = gcnew System::Drawing::Font(
"Verdana", 12, FontStyle::Bold );
this->RTBKommentar->SelectionColor = Color::Blue;
this->RTBKommentar->Find("Strasse :", RichTextBoxFinds::MatchCase);
this->RTBKommentar->SelectionFont = gcnew System::Drawing::Font(
"Verdana", 12, FontStyle::Bold );
this->RTBKommentar->SelectionColor = Color::Blue;
this->RTBKommentar->Find("Ort:", RichTextBoxFinds::MatchCase);
this->RTBKommentar->SelectionFont = gcnew System::Drawing::Font(
"Verdana", 12, FontStyle::Bold );
this->RTBKommentar->SelectionColor = Color::Blue;
this->RTBKommentar->Find("Land: ", RichTextBoxFinds::MatchCase);
this->RTBKommentar->SelectionFont = gcnew System::Drawing::Font(
"Verdana", 12, FontStyle::Bold );
this->RTBKommentar->SelectionColor = Color::Blue;
this->RTBKommentar->Find("Kommentar:", RichTextBoxFinds::MatchCase);
this->RTBKommentar->SelectionFont = gcnew System::Drawing::Font(
"Verdana", 12, FontStyle::Bold );
this->RTBKommentar->SelectionColor = Color::Blue;
THX Willi