Changes

Jump to: navigation, search

Hiding and Showing Forms in Visual Basic

5 bytes added, 19:21, 13 August 2007
no edit summary
</pre>
To test this code press F5 to compile and run the application. When it appears click on the button in the main form and the sub form will appear. You will notice, since this is a non-mocal modal form, that you can still interact with the main form while the sub-form is visible (i.e you can click on the button in the main form).
Close the running application.
</pre>
Press '''F5 ''' once again to build and run the application. Aftyer After pressing the button in the main form to display the sub form you will find that the main form is inactive as long as the sub form is displayed. Until the sub form is dismissed this will remain the case.
Close the running application.

Navigation menu