noel78 Posted July 4, 2012 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; Quote
noel78 Posted July 5, 2012 Author Posted July 5, 2012 if Mainform.WebMode then begin enjoy; end; gracias Quote
Administrators Farshad Mohajeri Posted July 25, 2012 Administrators Posted July 25, 2012 if Mainform.WebMode then begin enjoy; end; As additional note: WebMode property is available in other unigui components too. 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.