|
-
Jan 12th, 2000, 11:45 PM
#1
Thread Starter
Lively Member
Hi.
My program has two Forms. Choosing an option on Form1 brings up Form2. When I go to the second Form, enter some data and click "Cancel", I go back to the first Form with "Me.Hide" and "Form1.Show".
However, when I go Form2 again, all of the values that were entered previously are still there. I want the controls to reset to their default value when I click "Cancel" on Form2. In other words, I want the controls to have the values that they would have if I was opening the Form for the first time.
I know that I can reset the value for each control individually upon clicking "Cancel", but I was wondering if there was an easier way to do this. Any suggestions?
Thanks.
Chris
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
|