I got it thanks. It works. Now if only I can figure out how to do a splash screen...
What do you want from a splash screen? Should it display until a button is pressed, or for a set amount of time? Will it have controls on it or is it just a picture?
A way of doing a splash screen
Define a layout called Splash_Layout and put a pretty picture as the background, and add one button called CloseSplash, Generate the Click event for it.
When your app is first started, the main Activity_Create sub is run. If it is the first time it is run, the variable flag called FirstTime will be set to true.
So at the start of Activity_Create add the following code
If FirstTime Then
Dim SplashPanel As Panel
SplashPanel.Initialize ("")
SplashPanel.LoadLayout ("Splash_Layout")
Activity.AddView (SplashPanel,0,0,100%x, 100%y)
End If
This will load your splash layout into a panel and display it. Now to close it:
In the Sub CloseSplash_Click add the following line
So when you press the button the splash screen disappears. There are other ways of doing it, but hopefully this will give you an insight into how to approach the task.
As you see, the forum is quite capable of helping newcomers