Stop asking to copy file location to clipboard while using Visual Foxpro 9 HtmlListener

StackOverflow https://stackoverflow.com/questions/22261293

  •  11-06-2023
  •  | 
  •  

سؤال

For the first time in my life, I actually need to ASK a question because for the life of me I cannot actually seem to find an answer on here or MSDN.

The following code works as expected:

SET CLASSLIB TO HOME()+ 'FFC\_REPORTLISTENER'
loHTMLReporter = CREATEOBJECT('htmlListener')

loHTMLReporter.TARGETFILENAME = 'MYFILENAME'
REPORT FORM MYREPORT OBJECT loHTMLReporter

However, after the report is generated, it asks me if I would like to copy the location of the file to clipboard. I was wondering if there was a property I could set on the html listener after creation, or when I actually tell VFP to run the report that would stop this behavior. Thank you!

هل كانت مفيدة؟

المحلول

HTML Listener is derived from the XMLListener in the same class library
which is derived from UtilityReportListner
which is derived from FxListener
which is derived from _reportListener

Then a simple property...

loHTMLReporter.QuietMode = .T.

then run your report...

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top