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; Quote 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; Quote 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 Quote 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. 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.