Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rotating an object doesn't work as expected
Message
De
30/10/2007 09:10:07
 
 
À
30/10/2007 07:44:27
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01264969
Message ID:
01264990
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform