Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual Basic
Expertise: Beginner
May 8, 1997



Application Security Testing: An Integral Part of DevOps


I'm trying to mock some screens which is pretty simple but I do need a couple of commandbuttons to bring up another screen. For example, when the user pushes the "Detail" button I want another screen to pop up that lists all of the ingredients or askes them to fill in a form.

First of all, you have to create the second form and be sure to set the Name property. In the Command Button's Click event, execute the following code:

   SecondFormName.Show 1

Replace SecondFormName with the actual name of the second form. Show will display the window, and the number one following show will cause the window to show modally; that is, you have to hide that window before you do anything else. That window should have a Cancel button that calls this code:
   Unload Me

That line will cause the second window to go away.
DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date