erich.wanker Posted December 2, 2015 Posted December 2, 2015 Hello i want to execute JS if "UniSession.SendFile(CacheFileName);" is sending a big PDF if i write in delphi: procedure print lPDFDevice1:= TppPDFDevice.Create(nil); CacheFileName := UniServerModule.LocalCachePath + FormatDateTime('hhmmsszzz', NOW) + 'Reporte.pdf'; lPDFDevice1.FileName := CacheFileName; lPDFDevice1.Publisher := Report1.Publisher; Report1.PrintToDevices; UniSession.SendFile(CacheFileName); --> ! unisession.AddJS('MainForm.mask.hide();'); the Mask.hide call is to early .. how can i told UniSession to run 'MainForm.mask.hide();' after sendFile is started? ThanX Erich Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.