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:
IF NOT WEXIST("scrn_1") ;
OR UPPER(WTITLE("scrn_1")) == "scrn_1.PJX" ;
OR UPPER(WTITLE("scrn_1")) == "scrn_1.SCX" ;
OR UPPER(WTITLE("scrn_1")) == "scrn_1.MNX" ;
OR UPPER(WTITLE("scrn_1")) == "scrn_1.PRG" ;
OR UPPER(WTITLE("scrn_1")) == "scrn_1.FRX" ;
OR UPPER(WTITLE("scrn_1")) == "scrn_1.QPR"
DEFINE WINDOW scrn_1 AT 0,0 ;
SIZE 33.857,113.714 ;
IN SCREEN ;
TITLE Scrn1Titl ;
FONT "Courier New", 8 ;
STYLE "B" ;
FLOAT ;
NOCLOSE ;
NOMINIMIZE ;
NONE ;
COLOR RGB(,,,192,192,192) ;
ICON FILE LOCFILE("SOURCE\F01\BITMAPS\BOOKS04.ICO","ICO", ;
"Where is books04?") ;
MOVE WINDOW scrn_1 CENTER
ENDIF
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?
Thanks,
Ken Penrod