Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rotating an object doesn't work as expected
Message
From
30/10/2007 09:10:07
 
 
To
30/10/2007 07:44:27
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01264969
Message ID:
01264990
Views:
17
This message has been marked as the solution to the initial question of the thread.
Hi Emerson.

>Someone could help me to understand why rotating an object in a report works correctly this way...
>
>
>Report Form myReport Object Type 0
>
>
>Also works as expected this way...
>
>
>Local loReportListener
>Do (_ReportOutput) With 0, loReportListener
>loReportListener.AllowModalMessages=.T.
>loReportListener.DynamicLineHeight = .T.
>loReportListener.PrintjobName="Print Job"
>loReportListener.Quietmode=.F.
>Report Form myReport Object loReportListener
>
>
>But doesn't work this way...
>
>
>Local loReportListener
>loReportListener=CREATEOBJECT("ReportListener")
>loReportListener.ALLOWMODALMESSAGES=.T.
>loReportListener.DYNAMICLINEHEIGHT = .T.
>loReportListener.LISTENERTYPE=0
>loReportListener.PRINTJOBNAME="Print Job"
>loReportListener.QUIETMODE=.F.
>REPORT FORM myReport OBJECT loReportListener
>
The ReportListener returned by ReportOutput.APP (the first and second examples) isn't a base class ReportListener but one that has additional functionality (one of the classes in _ReportListener in the FFC folder). Your third example instantiates a base class ReportListener which doesn't know anything about rotation.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform