[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

Change content of Edit1

Hi, how do I change what Edit1 (that is an Editbox) content is??  I will have a button and when the user clicks on it I want it to change Edit1 to "unregistered" and change Edit2 to "unregistered".  How do I do that????
0
4099aol
Asked:
4099aol
1 Solution
 
q2guoCommented:
So, inside the OnClick event of the button.
you should write

AnsiString S("unregistered");
Edit1->Text = S;
Edit2->Text = S;


0
 
4099aolAuthor Commented:
thanks
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now