Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 14th, 2005, 11:39 AM
Authorized User
 
Join Date: Nov 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Multiple forms?

I am very new to VB and was wondering if I wanted to make an application that uses multiple forms (I'm assuming that's what I would do) that works simular to a windows install/setup prompt, but it's not going to install anything...how would I go about this. The book(s) I've been using to study VB with do not address this. What I want to do is have a form(s) that stay the same size when you select different forms from the quick menu (dropdown options menu that I will put in all the forms)...I want it to look like clicking next in an install/setup procedure...the form size stays the same, but the content changes. This might be a dumb question, but I just cannot find anything on doing this. I'm not even sure that multiple forms are use?!

 
Old November 14th, 2005, 04:23 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Look into the tab control. You could simulate this using this.

J
 
Old November 15th, 2005, 03:19 PM
Authorized User
 
Join Date: Nov 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Tab controls are my last resort, but looks like I might be to that point...

 
Old November 16th, 2005, 01:33 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Well, you certainly can do this with multiple forms, but I think it would be more work and I am not sure why tabs are your last resort. Can you explain why you don't want to use them?

J
 
Old November 16th, 2005, 09:00 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there...

im confusing.. form are objects and you can inherit from them.. so why is so dificult???

also i do the same in VB 6 without much problems..... and i have an application, like a wizard, that work that way.. so what is the problem is you build multiple form that inherit from one or you just copy the code and the size from your original form???

HTH

Gonzalo
 
Old November 18th, 2005, 05:14 PM
Authorized User
 
Join Date: Nov 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just the look mainly is the reason I don't want to use tab controls; I just need to do more research I guess. Thanks for the input. This is my first big vb project and I'm just kind of going from scratch but have an idea of the code etc behind everything. The transistion from c++ to vb is not too stressful, just kind of difficult to mold all the objects/forms/handles/gui-stuff together to make it work...for me anyways. I'll get it though...cause I have too! :D






Similar Threads
Thread Thread Starter Forum Replies Last Post
working with multiple forms jill2new Visual Basic 2005 Basics 1 March 1st, 2007 06:48 PM
Want to upload multiple forms sumon_24_feb JSP Basics 0 December 16th, 2006 03:05 AM
Multiple forms simen C# 2005 1 February 8th, 2006 08:15 AM
Multiple forms one submit x_ray Classic ASP Basics 7 January 3rd, 2006 07:12 PM
multiple forms johanyu VB.NET 2002/2003 Basics 2 October 10th, 2004 12:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.