erich.wanker Posted December 5, 2014 Share Posted December 5, 2014 To prevent user closing Unigui-isapi unintentionally... Would be nice if "BrowserClose" procedure has a "AskForClose - Boolean" procedure TUniMainModule.UniGUIMainModuleBrowserClose(AskForClose:Boolean; Sender: TObject); begin ... if x:=1 then AskForClose = True; //-> Browser asks User if he wants to leave the UniGui Isapiwith standard browser-dialog ... if x:=0 then AskForClose = False; //-> closes UniGui Isapi end; The Standard-Browser-Dialog of Chrome is: Link to comment Share on other sites More sharing options...
brunotoira Posted December 5, 2014 Share Posted December 5, 2014 Thanks!!! Link to comment Share on other sites More sharing options...
Recommended Posts