answersLogoWhite

0

How do you restore a form after closing another in VB?

Updated: 8/18/2019
User Avatar

Wiki User

12y ago

Best Answer

Suppose you have form 1, form 2 and form 3. form1 and form2 are showing. You press a button on form1 and form2 dissapears but form 3 shows. The code to the button would be as simple as this:

Form2.Hide()

Form3.Show()

And when you want to close a form make sure you use Hide() not Close() if you want to be able to restore it later.

if you want to re open form2 but hide form form3 then just reverse it and also you should be able to use me.hide

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you restore a form after closing another in VB?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How you would name a VB form as Hello VB?

To change the name of a form first load your project and click on that form. Now, under the properties window find "text". Change the value next to it (usually "Form1") to "Hello VB" or what ever name you choose.


What is the full form of dde in vb?

dynamic data exchange


What is the full form of ole in vb?

Object linking and embedding (ole)


What is the extension for VB form?

I think it is .sln or .vbprojI'm not sure.


How do you use MSFlexGrid in VB6.0?

How to display data in table form in VB 6.0


What is full form of ADO control in VB its use?

AcitveX Data Object


What is the modal form in VB?

A modal form is a form that takes the focus in a program and prevents you from doing anything else or going to any other form until it is first closed. They are commonly seen on computers with error messages or warnings or ways forcing you to have to select an option. VB allows you to show any form as a modal form.


Can you make vb in vb?

Yes it is possible, most things are in VB


What the abbreviation of verb?

vb or vb


What is the abbreviation of verb?

vb or vb


How you make VB?

you dont make vb vb is visual basics and you make stuff in it


Design a form in vb to stimulate traffic signals using timer?

ja pal ghari