Setting colors in more than one TextBox
By Bikramjit Das
26 Aug 2013 21:28
English
2 Replies
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.
Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------