Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP SP2 - Issues - Can any of it be used?
Message
From
26/10/2007 11:27:04
 
 
To
26/10/2007 09:04:55
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01262764
Message ID:
01264160
Views:
16
Ah, Doug, you're brilliant! But we knew that.

You're right, that form class changes borderstyle from 3 to 2 in the Init if the .lAllowResize property is set to true. I kept looking at in the designer rather than the debugger. Indeed, if borderstyle is left at 3, all 3 problems go away.

So I guess the Vista borderstyle bug wasn't completely fixed in SP2 ???



>Hi Jim.
>
>>1. Border and title bar of forms sometimes does not appear. It always seems to be there the first time I open the form, but after 2 or 3 more opens the form appears without them.
>>
>>2. Drag one form over another and the titlebar and borders of the bottom form retain part of the image of the top form.
>>
>>3. Click on the rectangular red X to close the form and a small square gray box with an X in appears on top of the red X.
>
>Are you absolutely sure BorderStyle is 3? Try resizing the form and see if it works. I've only seen this effect with BorderStyle set to something other than 3. Even if BorderStyle is 3 in the Properties window, perhaps some code in the form changes it to 2. For example, I always leave BorderStyle set to 3 so I can resize the form in the Form Designer, but have a custom nBorderStyle property often set to 2, with code in Init that changes BorderStyle to the value of nBorderStyle.
>
>>Just curious, did you install SP2 on top of SP1 or on the original 9? I did the latter.
>
>Me too. I actually completely uninstalled VFP, installed RTM, then installed SP2.
>
>>Also, you don't have your shortcut to run VFP as Administrator by accident, do you?
>
>No.
>
>Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform