Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Splash Form Problem
Message
 
To
11/03/1999 09:25:27
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00195922
Message ID:
00196480
Views:
24
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform