Hi all,
Suppose if i have two or more TextBoxes placed side by side and i want to set color in them to red on pressing of a button then how am i supposed to do it?
TextBox *pTextbox1, *pTextbox2; pTextbox1 = new TextBox(); pTextbox2 = new TextBox();
In OnActionPerformed()..on the click of a button i wrote...
pTextbox1->SetColor(TEXT_BOX_STATUS_HIGHLIGHTED,Color::GetColor(COLOR_ID_RED)); pTextbox1->Draw(); pTextbox2->SetColor(TEXT_BOX_STATUS_HIGHLIGHTED,Color::GetColor(COLOR_ID_RED)); pTextbox2->Draw(); break;
Please let me know if anything else needs to be done.
Thanks in advance.