Information générale
Catégorie:
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.
HTH,
- Colin
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement