Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Rotation
Message
De
22/09/2005 10:51:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Text Rotation
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01051984
Message ID:
01051984
Vues:
62
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
Fil
Voir

Click here to load this message in the networking platform