|
-
Nov 20th, 2000, 05:27 PM
#1
Thread Starter
Addicted Member
I have a problem....I want to do the following:
Form1 has lots of text boxes, and when the user fill them nd presses a button, it opens another form(form2), with all the things he has written in Form1. Also in form1, there is a combo box which lets you choose if you are a male or a female...and according wo what you choose, it says that you are a "boy" or a "girl" in form2. In form2, there is a button that says "New", which closes form2 and opens form1, but when it opens form1, the text boxes arent cleared, so I added the following code:
Form2.txtFirst.Text = " "
Form2.txtSecond.Text = " "
Form2.txtThird.Text = " "
...and so on......
the problem is with the Combo box...how can I clear it leaving the original information inside it (Male and Female)??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|