P
PeterB
What actually happens when I click the top-right (X) in a form?
Clicking (O) is equal to Form.Close() right? But (X) is not equal to
Form.Hide()
In a scenario I have a parentform-subform (form1-form2-form3-...-formN)
relation to a certain depth.
I have a button "Exit" that performs this.Hide()
If I close all forms with (X) until I reach the today screen, and then
launch the application again formN is displayed. If I close this form with
(X) or "Exit" the today screen is displayed again. But if I re-launch the
application here I get formN if (X) was clicked and formN-1 if "Exit" was
used. So we "advance" one form by clicking Exit instead of (X).
If I instead click on Exit on each form, and re-launch the application and
again nothing happens. In this case I need to activate it from the Running
Programs list. Maybe one could say that hiding is more powerful than (X) ??
Anyone willing to elaborate?
thanks,
Peter
Clicking (O) is equal to Form.Close() right? But (X) is not equal to
Form.Hide()
In a scenario I have a parentform-subform (form1-form2-form3-...-formN)
relation to a certain depth.
I have a button "Exit" that performs this.Hide()
If I close all forms with (X) until I reach the today screen, and then
launch the application again formN is displayed. If I close this form with
(X) or "Exit" the today screen is displayed again. But if I re-launch the
application here I get formN if (X) was clicked and formN-1 if "Exit" was
used. So we "advance" one form by clicking Exit instead of (X).
If I instead click on Exit on each form, and re-launch the application and
again nothing happens. In this case I need to activate it from the Running
Programs list. Maybe one could say that hiding is more powerful than (X) ??
Anyone willing to elaborate?
thanks,
Peter