Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modeless FPW2.6 Form in Win XP
Message
 
 
À
16/07/2005 21:47:38
Ken Penrod
Technical Perspectives, Inc.
Richardson, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01033345
Message ID:
01033349
Vues:
22
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform