General information
Category:
Reports & Report designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only