Setting modalresult to mr_none prevents the button from closing the form: only a non-mr_none value triggers the form's modal close
Source position: msesimplewidgets.pas line 189
public property tcustombutton.modalresult : modalresultty |
Setting modalresult to mr_none prevents the button from closing the form: only a non-mr_none value triggers the form's modal close.