H
Hong Kong Phooey
How can I determine if a form is being displayed as a modal dialog
programatically?
I have a form which may be used either way in the application. If shown
modally using ShowDialog(), all the regular caveats apply (ESC=Cancel,
ENTER=OK, AcceptButton, CancelButton), but when simply shown using Show(),
none of those apply and the user must click the 'X' in the ControlBox.
--
Any help is appreciated.
Thanks in advance.
Hong Kong Phooey
programatically?
I have a form which may be used either way in the application. If shown
modally using ShowDialog(), all the regular caveats apply (ESC=Cancel,
ENTER=OK, AcceptButton, CancelButton), but when simply shown using Show(),
none of those apply and the user must click the 'X' in the ControlBox.
--
Any help is appreciated.
Thanks in advance.
Hong Kong Phooey