Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Caption is lost and shows parts of previously closed for
Message
From
03/02/2008 15:29:00
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01287839
Message ID:
01288836
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform