Reputation: 19
I'm using VB6 and I'm trying to do the following:
I have a command button that execute a while statement. in this statement I'm loading a new form with:
Load FrmPayment
FrmPayment.Show
I want the program to brake until I click a button in the new form, and then start from the same point I left
I tried looking the web for an answer but couldn't find anything that helped.
How can I do this?
Upvotes: 0
Views: 215
Reputation: 9726
By showing your new form modally the new form is the only form in your application that responds to the user.
Load FrmPayment
FrmPayment.Show vbModal
Upvotes: 7