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:
01361330
Views:
18
>>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.
Thanks Mike. I'll check that out. Based on the hoop jumping to deal w/ the Vista window titlebar issues, i just finished commenting out KEYBOARD CTRL+F10 commands that would maximize the PRINT PREVIEW window for the user. Using that KEYBOARD command with the form settings noted above, the FoxPro form window would expand (not the print preview window) to fill the screen, blocking the print preview entirely. And because the non-maximized foxpro window would not receive focus, the task manager would see lots of action. I'm amazed that MSFT has not addressed this. Hopefully they have and i havent stumbled upon the solution yet.
Previous
Reply
Map
View

Click here to load this message in the networking platform