• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

VB.net question

phantom404

Golden Member
I have 2 forms and a class file that holds shared variables. Heres what I'm doing. You click on a button on the first form, it opens up the 2nd form you select your choice and it relays the choice back to the first form through the shared variables and displays information on the first form according to your choice in the 2nd form.

The Problem: Whenever you click the button on the first form to bring up the 2nd form instead of pausing and going to the 2nd form it continues to read code after the 2ndform.show statement. Is there a way to pause reading the code, go to the 2nd form and then go back to the first form and resume from where it left off?
 
There should be something like a ShowDialog method which blocks until the second form closes. It will return what action was taken to close the form too, like OK or Cancel or whatever.
 
Back
Top