Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form loading flash
Message
 
À
12/05/2016 13:40:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01636239
Message ID:
01636404
Vues:
106
Are you sure your screen that you are loading is a desktop form? What is actually flashing white? Is it your actual form or something else?

I have many Fox based applications that launch right off without any sort of background flash even in slow load scnearios. If you see something 'flash' most likely you are loading something else first or as others have pointed out you're seeing the desktop flash up briefly. You might want to make sure the right config.fpw that contains the SCREEN=OFF is getting loaded which is the only way you can effectively surpress the VFP startup window in an EXE. If that's not the case you must have something happening that's loading something prior to your main window showing.

If it's your form that's actually flashing white try changing the background color to something that closer matches the image you're loading to minimize.

+++ Rick ---

>>I have asked this before, but have not yet resolved this problem... As can be seen in the pic attached, the screens are darker than the regular windows type screens. Owner wants it this way, so I have to abide by his wishes. The problem is that when a window loads, there is a quick flash of white before the background .gif loads. I know it isn't a delay while loading the picture file, because if I take the picture out, and just have the BackColor of the form as black, or any other darkish color, it still happens. Does anyone else experience this?
>>
>>Thanks!
>
>I have seen this sort of thing various times and there are some thing you can try. A quick one is Borislav's suggestion. You can combine this with loading the form off-screen and then moving it to the correct position after all form controls are loaded. And another option is to use a config.fpw file with a SCREEN=OFF statement. Load the app, load the form, and then make the app visible with _Screen.Visible = .T. when ready. Also, try using a PNG or BMP instead of a GIF. They render differently if I remember correctly. These are some things you can experiment with.
>
>.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform