Hi,
I'm having an issue with "why" is program control flowing past a form load when the form is still up.
1. private pcMyVar
2. pcMyVar='VarValue'
3. do form 'test' with pcMyVar && the form loads as expected
4. messagebox('MyVar is:' + pcMyVar, 0, 'Var Value')
Note: pcMyVar gets changed from decisions made in the form
The problem is line 3 is executed and while the form is still on screen, line 4 is also executed. I expect line 4 to be executed after closing the form.
I've tried setting the form as InScreen, InTopLevel and as AsTopLevel with same results. Also played a little with a read events. The form is loaded from a menu.
Thanks for your help...
Stanley
I'm having an issue with "why" is program control flowing past a form load when the form is still up.
1. private pcMyVar
2. pcMyVar='VarValue'
3. do form 'test' with pcMyVar && the form loads as expected
4. messagebox('MyVar is:' + pcMyVar, 0, 'Var Value')
Note: pcMyVar gets changed from decisions made in the form
The problem is line 3 is executed and while the form is still on screen, line 4 is also executed. I expect line 4 to be executed after closing the form.
I've tried setting the form as InScreen, InTopLevel and as AsTopLevel with same results. Also played a little with a read events. The form is loaded from a menu.
Thanks for your help...
Stanley