Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Splash Form Problem
Message
 
À
11/03/1999 09:25:27
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00195922
Message ID:
00196480
Vues:
34
>>>The VB App I'm working on starts from a Sub Main() in a module, displays a splash screen while the rest of the app is initializing, and then hides the splash screen right after loading the main form. With one exception, everything works fine. The splash screen is transparent, and has no objects on it. Pardon the pun, but clearly this is not the behavior I intended. The splash screen is based on the splash form template provided with VB6.
>>>
>>>Any thoughts on why it's coming up transparent ??? It's not a huge problem, just a nuisance.
>>>
>>>Regards,
>>>
>>>Jason
>>
>>Try something: in the Form_Load event, add the following statement:
>>Me.Show.
>>
>>It could help.
>
>Actually, I'm using the following syntax.
>
>frmSplash.Show(modal)
>
>The form "shows", but is transparent. None of the objects on the form are visible. The border of the form is clearly visible, but the rest is not.
>
>Thanks for the suggestion.
>
>Jason

have you tried it? Me.Show will not make the form borders to appear, it will force VB to allow the content to be draw (you can also try Me.Refresh).
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform