jjschwartz
Technical User
I've abstracted this problem to, hopefully, simplify it without losing the key elements.
I have a project with 3 forms that are auto-created: Form1 (the main form), Form2 and Form3.
Form1 has a button whose handler is:
Form2.showmodal;
Form2 has a button whose handler is:
Form2.close;
Form3.showmodal;
When I push Form1's button, Form2 shows (good).
When I push Form2's button, Form3 shows but Form2 stays open (bad). When I close Form3, then Form2 closes.
Can someone help explain this behavior? I'm obviously trying to jump between all my forms.
TIA,
Jeff Schwartz
I have a project with 3 forms that are auto-created: Form1 (the main form), Form2 and Form3.
Form1 has a button whose handler is:
Form2.showmodal;
Form2 has a button whose handler is:
Form2.close;
Form3.showmodal;
When I push Form1's button, Form2 shows (good).
When I push Form2's button, Form3 shows but Form2 stays open (bad). When I close Form3, then Form2 closes.
Can someone help explain this behavior? I'm obviously trying to jump between all my forms.
TIA,
Jeff Schwartz