GWILSON1981
New member
- Joined
- Oct 26, 2006
- Messages
- 3
- Programming Experience
- Beginner
Hello
I am very new to Visual Studio 2005 so please excuse my lack of knowledge! I've searched all over the place but can't find anything that exactly answers my question (or doesn't use the 'me' keyword!).
Essentially I want to know two things:
1. How can you specify what a form's MDI parent is? E.g. Frm1 is the parent. Frm2 opens within the parent with no problems, however, how do you specify the parent form in frm3 (which is opened from frm2 so using the 'me' keyword is no use).
I guess i'm looking for somethingl like frm2.parent = "frm1" but it doesn't seem to exist!
2. Another easy one I'm sure - how do you specify the context menu to be used by a form. I have several context menus and I want to be able to change which one is used by a form programatically.
I am very new to Visual Studio 2005 so please excuse my lack of knowledge! I've searched all over the place but can't find anything that exactly answers my question (or doesn't use the 'me' keyword!).
Essentially I want to know two things:
1. How can you specify what a form's MDI parent is? E.g. Frm1 is the parent. Frm2 opens within the parent with no problems, however, how do you specify the parent form in frm3 (which is opened from frm2 so using the 'me' keyword is no use).
I guess i'm looking for somethingl like frm2.parent = "frm1" but it doesn't seem to exist!
2. Another easy one I'm sure - how do you specify the context menu to be used by a form. I have several context menus and I want to be able to change which one is used by a form programatically.