Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with scrolling PREVIEW
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00103636
Message ID:
00103658
Vues:
28
>>>Does anyone else have problems with the display of data in a PREVIEW window
>>>being messed up when you scroll it? If so, what do you do about it?
>>Sometimes, I see it, especially if preview toolbar is undocked. So, I dock it.
>
>Nice call, Ed. :-) Now, any idea on how to do it programmatically?
>
>More details: The current code looks something like this:
>=PrevWind('Purchase Orders by Vendor')
>REPORT FORM rPOVend FOR TRVendor = TRIM(xVendor) PREVIEW WINDOW wShowInq
>wShowInq.Release()
>
>FUNCTION PrevWind
>LPARAMETERS tcTitle
>
>IF PCOUNT() = 0
>    tcTitle = 'REPORT'
>ENDif
>
>wShowInq = CREATEOBJECT('Form')
>wShowInq.Name = 'wShowInq'
>wShowInq.WindowState = 2
>wShowInq.Caption = tcTitle
>wShowInq.Show()
>
>RETURN
>
>If I take out the .Show(), preview the report, and then show the form Modal after I fix the toolbar, would that do it?

The idea is following:
Report Form ... Preview Nowait
if wexist("Print Preview")
	move window 'Print Preview' to 10,10
	mouse dblclick at 11,11
endif
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform