Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print preview
Message
From
21/05/1997 15:27:46
 
 
To
21/05/1997 15:23:26
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00033115
Message ID:
00033158
Views:
54
>>>>>>O.K. I figured out why the preview was burried. I have desktop set to true. How do I get the print preview to be on top when I have desktop set to true?
>>>>>
>>>>>Have you tried something like:
>>>>>
>>>>>.desktop = .f.
>>>>>report preview etc...
>>>>>.desktop = .t.
>>>>>
>>>>>/Paul
>>>>
>>>>Don't do this. Desktop is read-only in run-time. Instead of this use:
>>>>Thisform.hide
>>>>report form .... preview
>>>>Thisform.Show
>>>
>>>How about the case where I have 3 form open at once?
>>
>>The easiest answer is to hide/show all of them. But sophisticated people would advise ZOrder.
>
>In order to do what I wanted I didsomething like this
>
>_screen.left = 0 &&to get back the VFP main window
>report form report1 preview
>_screen.left = -2000 &&to get ride of VFP main window
>
>Does this seem like a efficient approach?

It would be even more efficient if you would say from the begginning that _SCREEN was out. This trick has been answered many times on UT before.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform