
September 25th, 2012, 03:03 AM
|
|
|
|
I don't really understand your question. When you execute Form2.Show, it will load the window if it is not already loaded and then display it with the focus. If it is already loaded and displayed, it will shift the focus to Form2. If what you are after is to have Form2 displayed within the boundaries of Form2, you can adjust the size and location of any form using code. The only option you have is whether or not the form is displayed modal. A modal form will not return control to the calling form until it has been unloaded. For example, I would use a modal form to enter a password.
J.A. Coutts
|