Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pause a sub till certain button click on new form

Status
Not open for further replies.

Ragnarox

Programmer
Oct 2, 2003
141
US
Hello all,

I have a program that needs to open a second form in some cases. When this second form opens I want to suspend the processing of the sub that called the second form until 1 of 2 items are clicked (out of a possible four items to click), then return the focus to the calling sub. So basically I want to have this call to the second form work like the MessageBox.show works. I have no clue though on how to get this done.

I thought that by making it a child of my parent form that would work but it does not. I have tried to create a pausing loop but that just locks up my system. I have also looked into the second form causing a validation but can not figure out how that works.

Any help, as always, is greatly appreciated.

Brian
 
John,

I tried the show dialog but because this form is a child form it will not work. Not hard to remove the child line but how would I do this with the form being a child?

Any help, as always, is greatly appreciated.

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top