Board index » delphi » Closing a modal or non-modal Form
Ma...@home.ivm.de (Marian Maier)
![]() Delphi Developer |
Sun, 03 Sep 2000 03:00:00 GMT
Closing a modal or non-modal FormHi, is there a way that a form can find out whether it is being displayed I have a Form that i display modal and non-modal according to context. I can show the editor using Show and ShowModal alternately, no There is an OK-Button on the editor and i naturally want the form to procedure TPropertyEditor.OKBtnClick(Sender:TObject); This works for the non-modal-Version. The modal-Version would need a I know about OnCloseQuery and how to use that for validation but in my Ciao, MM |