Lazarus
Programming => General => Topic started by: dietmar on August 01, 2021, 02:32:07 pm
-
Hello,
I have a button on the main form which opens a bsdialog modal form:
frmTest.ShowModal;
If the ModalResult of the OK-Button on the modal form is mrNone, nothing happens (as expected). As soon as I set that to mrOk, the form closes (what is ok), but then the application immediately terminates without any error.
I tried to debug with F7/F8, which led to strange assembler tracings and finally let Lazarus crashes completely!
Any ideas what's going wrong here?
Thx
--Dietmar
-
You are right - I forgot to create it first.
Sorry for bothering...
--Dietmar