Fade Splash screen (1 Viewer)

CEH

Curtis
Local time
Yesterday, 22:36
Joined
Oct 22, 2004
Messages
1,187
I've done some searching here, but don't see exactly what I am looking for. I am wanting to attach some code to the timer on a slash screen, or on the close event, to fade the splash screen out. I have looked at the "Cadice Tripp" site. It's fine, but not a fade out. What I want is a simple fade in.... fade out, on the splash screen. Anyone seen any code for this?
Thanks
 

Tezcatlipoca

Registered User.
Local time
Today, 04:36
Joined
Mar 13, 2003
Messages
246
Indeed. The only way I can think to do it is have the splash screen written in something else and saved somewhere on the PC as an executable file. you could then have Access run the .exe
 

Oldsoftboss

AWF VIP
Local time
Today, 13:36
Joined
Oct 28, 2001
Messages
2,499
This is as close as I know
 

Attachments

  • Form Animations.zip
    35.2 KB · Views: 576

ChrisO

Registered User.
Local time
Today, 13:36
Joined
Apr 30, 2003
Messages
3,202
See how the attachment goes…it can be made to fade in as well.

Hope that helps.

Regards,
Chris.
 

Attachments

  • SetStartupOptionsA97.zip
    34.6 KB · Views: 517

CEH

Curtis
Local time
Yesterday, 22:36
Joined
Oct 22, 2004
Messages
1,187
Oldsoftboss said:
This is as close as I know
I've seen this one.......... Close........ But........
 

CEH

Curtis
Local time
Yesterday, 22:36
Joined
Oct 22, 2004
Messages
1,187
ChrisO said:
See how the attachment goes…it can be made to fade in as well.

Hope that helps.

Regards,
Chris.
Thanks Chris! This is more what I am looking for.........
Now if we could get one of our hot coders here to take a look and strip it down!!
Seems like SO much code to do one simple thing!
Well, I'm not exactly a "Hot" coder.... But I'll attempt to reduce the size. Thru my ventures into VBA I have seen SO many DB's with bloated code!
Thanks again Chris!:)
 
Last edited:

ghudson

Registered User.
Local time
Yesterday, 23:36
Joined
Jun 8, 2002
Messages
6,195
ChrisO said:
See how the attachment goes…it can be made to fade in as well.

Hope that helps.

Regards,
Chris.
Pretty cool!
 

ChrisO

Registered User.
Local time
Today, 13:36
Joined
Apr 30, 2003
Messages
3,202
A fade in and out demo is attached.

Regards,
Chris.
 

Attachments

  • FadeInOutA97.zip
    27.7 KB · Views: 411

ChrisO

Registered User.
Local time
Today, 13:36
Joined
Apr 30, 2003
Messages
3,202
Partial transparency may also have its uses but that’s up to your imagination.

Regards,
Chris.
 

Attachments

  • FadeInOutWithTransparencyA97.zip
    32.1 KB · Views: 425

alexkong2003

Registered User.
Local time
Today, 11:36
Joined
Sep 4, 2006
Messages
95
A Really Prefect Code!! But can explain how to use the code? because i do try it but it not work? Thank you
 

Oldsoftboss

AWF VIP
Local time
Today, 13:36
Joined
Oct 28, 2001
Messages
2,499
A couple of great examples. Worth posting in the sample Db section, I reckon.
 

CEH

Curtis
Local time
Yesterday, 22:36
Joined
Oct 22, 2004
Messages
1,187
OK Chris,
Almost perfect :)
Here's a little challenge...... This is probably easy, but nothing I have tried is working. As you see on this one the Splash screen fades in and out in one motion, then opens your main menu....... Problem.... Once the opacity setting reaches 255 I want a timer event to hold the splash there for say...... 5 to 10 seconds before executing the close........ Ideas?

Thanks
 

Attachments

  • FadeInOutOneStep.zip
    28.1 KB · Views: 331

ChrisO

Registered User.
Local time
Today, 13:36
Joined
Apr 30, 2003
Messages
3,202
G’day Curtis.

Although there is very little code involved at the Form level a good understanding of the Timer event is required.

As Oldsoftboss suggested I might put this in the sample database section. One of the problems though is that people may ask how do I fade an image? or how do I fade a subform?

To me the sample database section is a place to post ideas and not solutions. If people can’t take the idea and continue to develop it further then they end up using code they don’t understand.

Anyway, rant over for today (though the day is still young ;) ) so please see attachment.

Regards,
Chris.
 

Attachments

  • FadeInOutOneStep.zip
    25.3 KB · Views: 406

CEH

Curtis
Local time
Yesterday, 22:36
Joined
Oct 22, 2004
Messages
1,187
Well, Thank you again Chris. I DID try to take this further from the examples. I had the form fading in and out.... The timing was my only problem. And I am guessing you are trained in VB and not just VBA..... I DO try to learn from every code I see. People do not alway put comments in thier code, so it is a little hard at times without a VB background. It looks like what I was missing was the declaration of the static variable........ I will do some further reading on that one to fully understand the code, and a bit more on "timer events"
And for your comment.... "To me the sample database section is a place to post ideas and not solutions"
Thats fine for the "Sample database section" But this IS called a forum..... A place where people post questions and seek answers. We hope those with more knowledge will help those of us with less knowledge. If they are not willing to do that.... then they shouldn't be involved with a forum.
OK......... Thats MY rant for the day........... :)
Again...... Thank you very much Chris, your an asset to the forum.
 

JoeCruse

Registered User.
Local time
Yesterday, 22:36
Joined
Mar 18, 2005
Messages
157
CEH said:
And for your comment.... "To me the sample database section is a place to post ideas and not solutions"
Thats fine for the "Sample database section" But this IS called a forum..... A place where people post questions and seek answers. We hope those with more knowledge will help those of us with less knowledge. If they are not willing to do that.... then they shouldn't be involved with a forum.
OK......... Thats MY rant for the day........... :)
Again...... Thank you very much Chris, your an asset to the forum.

Wow.:confused:


Chris, thanks for putting up the samples, they are well done.
 

CEH

Curtis
Local time
Yesterday, 22:36
Joined
Oct 22, 2004
Messages
1,187
Forgive me if I sounded insulting...... Didn't mean to be. I am very greatful to Chris for helping with the code. But a forum IS a place for questions and answers.... We all learn from those who know more then us....
And YES it should be in the sample database with credit to Chris for the modifications and KPD-Team for the original code.
 

Robert88

Robbie
Local time
Today, 13:36
Joined
Dec 18, 2004
Messages
335
Cool it works!!!!

Hi Chris,

Thanks for the fading splash screen, exactly what I was looking for.

Already incorporated the appropriate code and all is working, cheers :D

Robert88
 
Last edited:

ChrisO

Registered User.
Local time
Today, 13:36
Joined
Apr 30, 2003
Messages
3,202
G’day Robert and no problems, glad you like it.

Latest version is attached.

Regards,
Chris.
 

Attachments

  • FadeInOutV4_A97.zip
    63 KB · Views: 355

Robert88

Robbie
Local time
Today, 13:36
Joined
Dec 18, 2004
Messages
335
Hi Chris,

Thanks for the update, interesting ideas within. :)

Robert88
 

Users who are viewing this thread

Top Bottom