Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
I am trying to rotate text in a report using the sample classes from What's New In Nine, chapter 7, specifically SFReportListener.vcx.
The problem I am having is everything works fine when I run my app in the VFP environment, but when I create an EXE the text will not rotate.
I know that the listener class is being instantiated, the #bold# directives work, etc and I put a wait window in the rotation code that shows the angle that should be used in the rotation class and I see that wait window during previews.
Anyone know what might be different to cause this not to work?
this is the code I am using to do the preview:
loListener = NewObject('SFReportListenerDirective', 'SFReportListener.vcx')
loListener.Successor = NewObject('SFRotateDirective', 'SFReportListener.vcx')
loListener.ListenerType = 1
loListener.AddReport(reportname)
loListener.RunReports()
loListener.RemoveReports()
Again this works fine in the vfp environment, not in an EXE.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement