Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vista and Top Level form issue
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01361207
Message ID:
01363077
Views:
14
>>In an attempt to address the windows titlebar peculiarities with VFP9 (SP2) forms on Vista (where moving the window leaves a phantom close window "X" in odd places), i have set a modeless form's properties as follows...
>>
>>Desktop = .t.
>>Show Window = 1 (in top level form)
>>AlwaysOnTop = .f.
>>WindowType = modeless
>>
>>This addresses the windows oddities, but when the foxpro form produces a report to the screen, the print preview sits behind and is blocked to some degree by the form. The print preview window has focus and can be moved around the screen and it can be closed. The VFP form sits in front of the print preview window and it cannot receive focus. And it cannot be moved. Is there a recommended set of form properties that addresses situations like this for Vista?
>
>You could make your form invisible during a print preview.
>
>
Thisform.visible = .f.
>report form...
>thisform.visible =.t.
Mike - thanks for the recommendation. It looks like hiding all the open "desktop = .t." forms just prior to previewing the report and then SHOWing the forms in inverse HIDE order will work.
Previous
Reply
Map
View

Click here to load this message in the networking platform