Panel Show before Main Form

wm.chatman

Well-Known Member
Licensed User
Longtime User
Hi.

I could not find a solution, and also could not find a Thread that might have been posted. Maybe I missed it, if I did sorry for this Thread.

Just a little Q. How is it possible to show a single Panel and hide it, before the main Form shows.

Thank you all for your kind help.

Best regards.

William
 

sitajony

Active Member
Licensed User
Hi, so you want hide a panel before show the parent Form right?
You just need to type "Panel1.Visible=True/False"...
Or on the Designer you check the "Visible" checkbox...
Does it usefull? (Tell me if it's not the waited answer...)
 

specci48

Well-Known Member
Licensed User
Longtime User
Hello William,

if you are looking for a splash screen before starting the main application, Cableguy's About Panel library is exactly what you need.



specci48
 

wm.chatman

Well-Known Member
Licensed User
Longtime User
@sitajony... this is all incorrect ! Your no help, but thanks anyway.
@specci48:)... hi specci48. hope all is well with you. Right. something like a splash screen before starting the main application. I will take a look at Cableguy's About Panel. I want to show a single Panel only for a few Seconds, and then have the main Form showing. I guess i can use also a timer control for the Panel, after timer ticks out the Panel is invisible and the main frm is shown.

i added a tmr. how can i get Interval time set so the timer will hide the panel lets say after 5 seconds ? i wish i could be Einstein ha, ha.

could I not use a short countdown in the tmr event ? then have the Panel go to invisible ? :confused:

Take care specci48.
Best regards.

William
 
Last edited:

sitajony

Active Member
Licensed User
Sorry, I understand now, you can also use my lib: http://www.b4x.com/forum/additional-libraries/5920-windoweffects-v1-0a-wp7-sbp-home-style.html
With the Windows.MoveFormTo() you can move the form where you want, after you can resize the Form with Basic4PPC:
Control("Form1").Width=200 (example)
And it's a SplashScreen like ActivSync in starting on Desktop...
(Available on PPC/PC.)
It's an alpha release but this function works perfectly ;)
It's better than About Panel cause you can change the background image and add a lot of effects...
There's no help file sorry, but it's easy to understand, if you've a problem post a reply if you want...

I can do an example for the SplashScreen... I'll post here in few minutes :)
 
Last edited:

specci48

Well-Known Member
Licensed User
Longtime User
...how can i get Interval time set so the timer will hide the panel lets say after 5 seconds ? i wish i could be Einstein ha, ha.
No Einstein needed, just a helpful community... :)

Attached is the sample program of Cableguy extended with a timer that closes the startup screen right after 5 seconds. It's a bit tricky because
a) the user can close the panel manually
b) the about panel has no official close method


Best wishes
specci48
 

Attachments

  • About Panel - Autoclose.sbp
    1.4 KB · Views: 204

wm.chatman

Well-Known Member
Licensed User
Longtime User
silly me, a panel does need a container to be placed upon right. so, without a form there is no way to show only a SINGLE PANEL.

@sitajony... OK I will try your sample.
@specci48... Danke Dir ! Thank you !
 

wm.chatman

Well-Known Member
Licensed User
Longtime User
@sitajony... i tried to run your Splash Screen Example, but get this msg.

please see error file below. anyway, I resolved my problem by using a regular frm. this also works well.

Thanks.

@specci48. also thank you for the help Sir.

Best regards.

William
 

Attachments

  • error.JPG
    error.JPG
    18.9 KB · Views: 229
Last edited:

sitajony

Active Member
Licensed User
Normaly it runs on Desktop but it's for PPC the SplashScreen example...
You wanted it for Desktop?
 
Top