Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Caption is lost and shows parts of previously closed for
Message
De
03/02/2008 15:29:00
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01287839
Message ID:
01288836
Vues:
12
I found some code while surfing that clears up the problem with the captions (and apparently borders also). This code goes in the 'init' of every form. I am not sure whether (name) is for the form name under property or the name of the screen file so I made the form name under property the same as the file name. I do not know why this code fixes the problem, nor do I understand the root of the problem.

LOCAL lnBorderStyle
lnBorderStyle = this.BorderStyle
ACTIVATE WINDOW (name) IN SCREEN NOSHOW
this.BorderStyle = lnBorderStyle

One of my applications seems to be Vista ready (including the Install Shield Express). A different, complicated application is having terrible Vista problems. Some of the form's controlsource property do not seem to be working correctly, and some other bits of code built in the forms do not execute like they do in XP.

Does anybody have any advise about form's weird behavior under Vista?

This whole Vista mess is a wee bit annoying because the last time I checked VFP, Windows XP, and Windows Vista are all made by the same company.

Thanks,
Walter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform