Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with scrolling PREVIEW
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00103636
Message ID:
00103658
Views:
30
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform