noel78 Posted July 4, 2012 Share Posted July 4, 2012 how do I know when the application is running in web mode. and I require to do the following ::: if win32 then // Show the normal report frxReport1.ShowReport else if ModoWeb then // lo muestro en un frame begin frxPDFExport.FileName := S; frxPDFExport.DefaultPath := UniServerModule.LocalCachePath; frxReport.PrepareReport(); frxReport.Export(frxPDFExport); rptURLFrame.URL := UniServerModule.LocalCacheURL+S; end; Link to comment Share on other sites More sharing options...
Ronak Posted July 5, 2012 Share Posted July 5, 2012 if Mainform.WebMode then begin enjoy; end; Link to comment Share on other sites More sharing options...
noel78 Posted July 5, 2012 Author Share Posted July 5, 2012 if Mainform.WebMode then begin enjoy; end; gracias Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 25, 2012 Administrators Share Posted July 25, 2012 if Mainform.WebMode then begin enjoy; end; As additional note: WebMode property is available in other unigui components too. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now