Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxyPreview - subclassing listener
Message
From
14/09/2013 09:16:23
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
 
 
To
14/09/2013 07:32:04
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01583262
Message ID:
01583266
Views:
78
>Hi All
>
>I Have a problem.
>I should resize some images in a report so i built a simple listener that do something in adjustObjectSize Event.
>
>1) When i use this listener under FoxyPreview With a simple command Report Form ... OBJECT MyListener all seem to be good ... but when i try to export in a PDF i had some problem because foxypreviewer call some method that my listener obviously don't have
>
>2) So i built a listener based on foxylistener with my code on adjustobjectsize ..... but this event seem not to be called
>
>3) So i tried to recompile all foxypreview with some hardcoding messagges in foxylistener.adjustobjectsize e i called my report without OBJECT clause ... the adjustobjectsize isn't called ... but if i place debug messagges in render event the messages appears ?
>
>Someone can Help me on this (trivial ?) problem ?
>
>thanx in Advance

I found the solution, is very trivial ... in the foxylistener.loadreport the property CallAdjustObjectSize is modified.
bye, Emanuele!
In the beginning the Universe was created.
This has made a lot of people very angry and been widely regarded as a bad move.
Previous
Reply
Map
View

Click here to load this message in the networking platform