Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modeless FPW2.6 Form in Win XP
Message
 
 
To
16/07/2005 21:47:38
Ken Penrod
Technical Perspectives, Inc.
Richardson, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01033345
Message ID:
01033349
Views:
21
Try to add to the form's Activate (not tested)
Thisform.Lockscreen = .T.
Thisform.Lockscreen = .F.
>I have an app that is a combination of FPW2.6 forms (SPRs) and VFP forms. When the app starts I display a FP2.6 form without a read (i.e. it just has text and images to display, no gets)... sort of like a splash screen but stays displayed. The background color is grey (RGB(0,0,0,192,192,192) and it displays just fine in VFP7. However, in VFP8 the form displays correctly for a split second but the moment the code hits the foundation read (READ VALID vmain()...) all of the text fields and the image disappear. The background color turns to the standard XP beige color. I have themes turned off (_Screen.themes = .f.).
>
>Now for the really strange stuff. When I select any form from the menu and quit that form to return to the main screen and redisplay my 'splash' screen all of the text and the image reappear. The background color is still the funky beige. The code creating the window is as follows:
>
<snip>
>
>Issuing a MODIFY WINDOW to change the color back to grey has no effect on the screen.
>
>Has anyone had any experience with this 'feature' of WinXP and VFP8?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform