Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is ReportListener.QuietMode incorrectly documented?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Is ReportListener.QuietMode incorrectly documented?
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01039365
Message ID:
01039365
Vues:
79
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

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform