by Dinesh Thakur Category: Multiple Forms

You can display a form with show method and Cancel a form with hide method use the hide method .When you want to make sure when form disappears.





<formname>.Show (Style)


Formname is name of form you which to display the optional style determines whether form will display model or modeless.value for style are of or modelless and for model default is 0.You can also use the VB intrinsic constants: vbModal and vbModeless.


When you display a form as model user must response to form in some way usually by clicking command button number other program code can execute until modal form has been reponsed for hidden.However, if you display modeless user may switch to another form without respond to form.


Example vdModal vdModeless

The hide method is similar to show method but it is used to remove from form screen




About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.C.A, MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.