andersonrsbezerra Posted October 24, 2017 Posted October 24, 2017 How to open Form in a different tab than the one that is running the application? Quote
andersonrsbezerra Posted October 24, 2017 Author Posted October 24, 2017 Can I display a FastReport report on another tab? Quote
andersonrsbezerra Posted October 24, 2017 Author Posted October 24, 2017 I am calling the report as below. But I would like the report to be displayed in a new browser tab EngineOptions.SilentMode := True; EngineOptions.EnableThreadSafe := True; EngineOptions.DestroyForms := False; EngineOptions.UseGlobalDataSetList := False; PrintOptions.ShowDialog := False; ShowProgress := False; PreviewOptions.AllowEdit := False; frxPDFExport1.Background := True; frxPDFExport1.ShowProgress := False; frxPDFExport1.ShowDialog := False; frxPDFExport1.FileName := UniServerModule.NewCacheFileUrl(False, 'pdf', 'Orçamento-' +UniMainModule.qOrcamento.FieldByName('ORCAMENTO_ID').AsString, '', AUrl); frxPDFExport1.DefaultPath := ''; PrepareReport; Export(frxPDFExport1); Quote
Marlon Nardi Posted October 24, 2017 Posted October 24, 2017 inside the demo folder has what you need. C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\FastReport Quote
Marlon Nardi Posted October 24, 2017 Posted October 24, 2017 UniSession.AddJS('var newWin = window.open("'+AUrl+'"); '+ 'if(!newWin || newWin.closed || typeof newWin.closed==''undefined'') '+ '{ alert(''Atenção, os pop-ups para esta página estão bloqueados!'');} '); 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.