teekilla Posted March 24, 2007 Share Posted March 24, 2007 I need help with vb, How exactly would i go about loading one form out of multiple forms in a MDI window? i origanlly used: Private Sub Load_form1_Click() Load form1 Unload form2 Unload form3 Unload form4 Unload form5 Unload form6 End Sub But i found this lagged the computer too badly seeing there was over 20 forms. Any advice? Link to comment Share on other sites More sharing options...
x76 Posted March 24, 2007 Share Posted March 24, 2007 I'd suggest not unloading them and just .hide them. :P Link to comment Share on other sites More sharing options...
ashozzy2 Posted March 25, 2007 Share Posted March 25, 2007 .visible = false would do the trick or you could make a button that has to be pressed to make them load up. It depends on what your project is. Link to comment Share on other sites More sharing options...
x76 Posted March 25, 2007 Share Posted March 25, 2007 .visible = false would do the trick Ah, yes .visible = false. :P My apologies, I haven't coded Visual Basic in a couple of years ever since I've moved onto C. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now