Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP SP2 - Issues - Can any of it be used?
Message
De
24/10/2007 14:06:55
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
 
À
24/10/2007 09:33:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01262764
Message ID:
01263238
Vues:
14
>Hi Jim.
>
>>I have run into major problems running SP2 on Vista with Aero turned on, not running in Admin mode. Forms lose title bars, forms leave their image on other forms they are dragged over, the Close button at the top right of the form turns into a strange gray X when you click on it. On XP, or Vista with Aero turned off, or Vista running as Administrator the problems do not manifest themselves. I uninstalled VFP completely, reinstalled it, then applied SP 2.
>
>This happens with forms with BorderStyle set to something other than 3-Sizable. This also happens in RTM and SP1 and was supposed to be fixed in SP2, but there are several workarounds:
>
>- Set BorderStyle to 3, MinHeight and MaxHeight to Height, and MinWidth and MaxWidth to Width, so the form can't be resized.
>
>- Set Desktop to .T. This has other issues you need to be aware of, but has the added bonus of making the form support Aero Glass (ie. transparent border, etc.)
>
>- See Calvin's blog (don't have the URL here at home) from 04/27/2007 for a hack.
>
>- Tracy Pearson found that adding ACTIVATE WINDOW (This.Name) IN SCREEN (for forms inside top-level forms, use the name of the TLF instead of SCREEN) to Activate resolved the issue.
>
>Doug

Another option is to set the BorderStyle in the parent class. Most of our forms are not resizable, so I set BorderStyle = 2 in our form classes. Only when you change the BorderStyle in the SCX is there a security issue.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform