|
-
Dec 15th, 2007, 08:43 PM
#1
Thread Starter
Addicted Member
[RESOLVED] [2005] Need help working with multiple forms :s
Hi, can someone help me please.. I have a textbox on frm2 which has a default text value of 5. Now from frmMain I can do frm2.Show() and then change the value to 10 in the textbox. In the frm2_closing event I have Me.Hide() and e.Cancel = True so that frm2 is only hidden and not closed. Now if I close (ie hide) frm2 after changing the value to 10, this is fine, and it will still be 10 if I do frm2.show() again from frmmain. But if I try to access the textbox from frmmain, with frm2.textbox.text, the value will always be 5.. when it should be 10 :S can anyone help me fix this?
Thanks
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
|