Cooper
2010-04-17 17:42:23 UTC
Hello,
I have MDI application; and a form MYWIN. I want to do in mode that when
MYWIN is opened not is possible to open MYWIN again.
I have thinked about use a boolean variable that i define as global and set
a false on create of main form; and when open MYWIN i set it on true.
Problem is: when i close MYWIN this variable continue to be true. Can i can
to so in mode to update this variabile to false on close of MYWIN?
Otherwise, is possible use other better solution that this?
Thanks you very much.
Cooper.
I have MDI application; and a form MYWIN. I want to do in mode that when
MYWIN is opened not is possible to open MYWIN again.
I have thinked about use a boolean variable that i define as global and set
a false on create of main form; and when open MYWIN i set it on true.
Problem is: when i close MYWIN this variable continue to be true. Can i can
to so in mode to update this variabile to false on close of MYWIN?
Otherwise, is possible use other better solution that this?
Thanks you very much.
Cooper.