Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PREVIEW WINDOWS GO BEHIND
Message
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00117439
Message ID:
00117978
Views:
29
>>I Have a big problem. In my project all windows have the property
>>AlwaysOnTop = .T. (for many reasons I have to do that), so when I run a Report the Preview Windows go Behind.
>>
>>I Tried putting Thisform.AlwaysOnTop = .F. But this only work with one window.
>
>I just can't imagine why all your forms needed to be alwaysontop? Any big deal?
>
>However, you can create another form with ALWAYSONTOP = .T. also. Use that form as your preview window. Just make it sure that the form's external name (SCX/SCT) is identical with the form NAME property.
>
>IF !WEXIST('MYPREVIEWFORM')
> DO FORM mypreviewform NOSHOW
>ENDIF
>REPORT FORM myreport PREVIEW WINDOW mypreviewform
>
>HTH

Your idea seems to work. All my form use AlwaysOnTop because there is a bug in VFP when you run a second form for a first one (eventhough all are modal) the second one go behind. That happens sometimes.
Dominican Republic, a Paradise in America
Previous
Reply
Map
View

Click here to load this message in the networking platform