Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is ReportListener.QuietMode incorrectly documented?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Is ReportListener.QuietMode incorrectly documented?
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01039365
Message ID:
01039365
Views:
80
This is how QuietMode is defined in the documentation:
True

User feedback is permitted. This value is default for a ReportListener object instantiated within an interactive Visual FoxPro session or in a distributable application (.app or .exe file). 

False

User feedback is not permitted. This value is default for a ReportListener object instantiated in an automation server. 
Check out the following sample:
PUBLIC loListener as rl in rltest.prg
loListener = CREATEOBJECT("rl")
loListener.PrintJobName = "My First Report"
m.loListener.QuietMode = .f. && .f. user feedback is permitted
                             && .t. user feedback is not permitted
m.loListener.AllowModalMessages = .t.
report form reports\rptbill1.frx object loListener

DEFINE CLASS rl as ReportListener 
	PROCEDURE BeforeReport()
		this.DoMessage(THIS.PrintJobName + " (runs " + THIS.CommandClauses.File + ")",0,"")
	ENDPROC
ENDDEFINE 
My conclusion is that it(QuietMode property of ReportListener) is documented incorrectly.
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Next
Reply
Map
View

Click here to load this message in the networking platform