03-01-2020, 02:52 PM
Hi Soren. If is OnClick, put this code:
If is OnAsyncClick, put this code:
Code:
procedure TIWForm1.IWButton_ZipFilesClick(Sender: TObject);
begin
......
AddToInitProc('ReleaseLock();');
end;Code:
procedure TIWForm1.IWButton_ZipFilesAsyncClick(Sender: TObject);
begin
......
WebApplication.CallBackResponse.AddJavaScriptToExecute('ReleaseLock();');
end;
