Jump to content

Recommended Posts

Posted

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:

post-1295-0-47121800-1417787761_thumb.jpg

×
×
  • Create New...