Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mind's Eye
Message
 
To
25/02/2004 16:57:23
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00878464
Message ID:
00881111
Views:
28
Hi Jim,

Prior to calling the SHOW() Method of the VFP Form, you can set the Caption to whatever you want. That is why quite a while ago, that I created the ReportFormObject Method to return an object reference to the FORM instantiated by the report engine so you can then manipulate properties on the Form and the Minds Eye Report Engine ActiveX control prior to displaying the Form.

There is also a CREPORTPREVIEWFORMCAPTION Property of the MindsEyeReportEngine that you can set as well that will override the Default Caption that I set it to only if the CREPORTPREVIEWFORMCAPTION Property is empty. You would want to set this if the LINSTANTPREVIEW Property is set to TRUE because that Property tells the Report Engine to instantly display the Report Engine Form while processing the report so you don't have to wait for the Report to finish before it is displayed.
SET CLASSLIBRARY TO MindsEyeReportEngine
oReportEngine = CREATEOBJECT('MindsEyeReportEngine')
oReportEngine.cReportPreviewFormCaption = 'My Favorite Caption'

oRPTForm = oReportEngine.ReportFormObject('SomeReport.FRX')
oRPTForm.Caption = 'My Favorite Caption'
oRPTForm.Show()
You can always email me directly for faster responses since, I'm not always on the UT but my email is almost always on.


Do you know if there is a way to change the caption on the titlebar of the preview screen for mindseye when previewing a report? It includes the name of the report that is being displayed and I don't want it to.

Thanks

Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform