DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   VB.NET (http://www.daniweb.com/forums/forum58.html)
-   -   How do I merge multiple forms as 1 multipage form in VB.NET (http://www.daniweb.com/forums/thread158086.html)

mbroadway Nov 18th, 2008 12:17 pm
How do I merge multiple forms as 1 multipage form in VB.NET
 
I am creating an application in VB.NET that has multiple pages. It's turned out to be a four page application as it took 4 forms for me to get all of the information for this application.

My question: Is there a way for me to somehow link these forms as pages 1 - 4, something like when you have a four page document in Word and scroll down to hit next pages?

Please help!

timothybard Nov 18th, 2008 1:19 pm
Re: How do I merge multiple forms as 1 multipage form in VB.NET
 
When I have a lot of information to show, I use the TabControl control. This allows users to click on different tabs to view additional data. However, to get back to your question, you can use form.show to open a form (replace 'form' with the name of your form). To hide a form, you can use me.hide. You can add buttons to your forms and place the code inside them.

waynespangler Nov 19th, 2008 10:18 am
Re: How do I merge multiple forms as 1 multipage form in VB.NET
 
Put a panel control on your form and set the autoscroll property to true. Put 2 buttons on the panel. Set one property location to 1100,30 and the other to 30,1100. The scroll bars show up on the panel and can use it like word.
You will have to do away with the other three forms.


All times are GMT -4. The time now is 10:10 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC