Lanc1988 Posted February 25, 2004 Posted February 25, 2004 I am trying to find out how to write the code on a form that will check on another form I have to see what it is set as. Example: I have a settings form (frmSettings) and on another form which I have as notepad (frmNotepad). On the notepad form I want it to know if a checkbox is checked and if it is carry out certain events, such as saving the text without them having to go to File then Save. I have tried If frmSettings.CheckBox1.Checked = True Then 'Events to carry out End If I have asked this question before and I have found it is very difficult for someone to try to post it and for it to work right for me. So if someone could please make a very quick project in vb.net that does this and post it in these forums it would really be helpful. Quote
Raziel Posted February 25, 2004 Posted February 25, 2004 i think you must declare a frmSettings variable on a module, then, on the Form_Load event of that form, set: varfrmSettings = me So you can use that variable to access that form members, if it doesn't work then it something similar, but definitely you have to declare a frmSettings variable. hope that helps Quote
Administrators PlausiblyDamp Posted February 25, 2004 Administrators Posted February 25, 2004 http://www.xtremedotnettalk.com/showthread.php?s=&threadid=83092 send your thanks and monetary donations to Bucky :D Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.