Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21843

Closing a form without closing the whole program

$
0
0
Hi guys,

Tiny little issue Im having with a program im writing. I have a form open in my program (when the program is running) what I need is a close button so that when the close (or exit or whatever) button is clicked, the form disappears and I return to my homepage.
As it is now, I press the X button in the top right corner of the form but that just exits the entire program when all i want is to return to the homepage.

Can anyone tell me what code to put behind a 'close' command button so that the form im on disappears and i return to the homepage.

Any help or insight would be appreciated,

Thanks!

Viewing all articles
Browse latest Browse all 21843

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>