General information
Category:
Visual FoxPro Beta
>Emmanuel -
>
>>>> What is interesting is that the ZoomLevel = 10 compute
>>>> a percent to fit the window. So it really shouldn't be
>>>> that difficult for the VFPT to let us access any zoom
>>>> level we want.
>>>
>>> VFPT *has* let you do what you want to do. What you're
>>> saying here is that the shipping Xbase preview component
>>> (REPORTPREVIEW.APP) does not happen to provide this ability.
>>
>> Could you elaborate on this? From what I read in the readme,
>> this limitation is in the API not in the ReportPreview.App.
>
>It's a limitation of the API of the object that ReportPreview.App returns to VFP9 when asked for a Preview Container.
>
>However, do not confuse the extended API of the object that REPORTPREVIEW.APP generates with the very limited API that VFP9 demands of a candidate Preview Container object. When you write your own _REPORTPREVIEW / Preview Container factory, the only methods your object must support are:
> .SetReport( oListenerRef )
> .Show( 0 | 1 ).
>
>No restrictions are placed on how your object deals with Zoom Level because VFP9 is never specify it.
>
OK I think I got it. That API is just an interface definition. We have to implement it ourselves, that's what the ReportPreview.app does. Fortunately we have the source code for this one and so we could customize it as we wish.
I suppose I should have RTFM more carefully :-)
Previous
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