Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Rotation
Message
From
22/09/2005 10:51:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Text Rotation
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01051984
Message ID:
01051984
Views:
56
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.
Next
Reply
Map
View

Click here to load this message in the networking platform