Me.Opacity Vs. Me.Visible ?

  • Thread starter Thread starter yosh
  • Start date Start date
Y

yosh

Trying to make a splashscreen, i can make it work if i in sub new() on the main form
set opacity to 0, show the splashscreen and then in the splashscreen set the main forms
opacity to 100 right before closing the splashscreen...

but thats gives me some nasty performance problems...
the form is generally slow, this is probably a known bug so if anyone has a sollution to that id be
greatful.

but when trying to use me.visible = false on the main form the main form wont
become invisible... setting it from the splashscreen works tho
(Me.Owner.Visible = False)

but that doesnt look too good...

suggestions welcome!
 
Yosh

Just start your splash form in the load event of your mainform, than you can
do with it what you want.

\\\
dim mysplash as new splash
mysplas.settings = etc
mysplash.show
When done actions
mysplash.close
///

I am not aware of a known bug and do in your message see only normal
behaviour, so maybe you can explain what you mean with "slow".

Can it not be wrong code in your own program before you accuse the
programmers of Microsoft.

However I hope this helps?

Cor
<[email protected]>

....
 
Back
Top