G
Guest
Hi
In my program i open another form after I have done some calculations
I have done this manually so far. All works fine
Now I try to open the form automatically, when the calculations are done. When I do so, the form is just visible for a millisecond, and the hides again. All the startup code in the form is executed. I can trace it, and all seem to be fine. But when the procedure that opened the form is finished, the form dissapeares
Is there anyone who has any idea on why this could happen? Or any tips for how I can find out whats causing it
This works
private sub openFrm(
Dim FormDisplay As New Displa
FormDisplay.Show(
end sub
But when placing those two lines in another, shared sub, the FormDisplay dissappeares when the shared sub is completed. (Or rather when the subs calling that shared sub is completed.
Do I have to select FormDisplay as the active form or something like that
Lots of thanks in advance
/Danie
In my program i open another form after I have done some calculations
I have done this manually so far. All works fine
Now I try to open the form automatically, when the calculations are done. When I do so, the form is just visible for a millisecond, and the hides again. All the startup code in the form is executed. I can trace it, and all seem to be fine. But when the procedure that opened the form is finished, the form dissapeares
Is there anyone who has any idea on why this could happen? Or any tips for how I can find out whats causing it
This works
private sub openFrm(
Dim FormDisplay As New Displa
FormDisplay.Show(
end sub
But when placing those two lines in another, shared sub, the FormDisplay dissappeares when the shared sub is completed. (Or rather when the subs calling that shared sub is completed.
Do I have to select FormDisplay as the active form or something like that
Lots of thanks in advance
/Danie