andersonrsbezerra Posted October 24, 2017 Share Posted October 24, 2017 How to open Form in a different tab than the one that is running the application? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 24, 2017 Share Posted October 24, 2017 Hi, Form or URL ?! Quote Link to comment Share on other sites More sharing options...
andersonrsbezerra Posted October 24, 2017 Author Share Posted October 24, 2017 Form Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 24, 2017 Share Posted October 24, 2017 No, it's impossible Quote Link to comment Share on other sites More sharing options...
andersonrsbezerra Posted October 24, 2017 Author Share Posted October 24, 2017 Can I display a FastReport report on another tab? Quote Link to comment Share on other sites More sharing options...
andersonrsbezerra Posted October 24, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Marlon Nardi Posted October 24, 2017 Share Posted October 24, 2017 inside the demo folder has what you need. C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\FastReport Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted October 24, 2017 Share 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 Link to comment Share on other sites More sharing options...
andersonrsbezerra Posted October 24, 2017 Author Share Posted October 24, 2017 Thank you Quote Link to comment Share on other sites More sharing options...
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.