Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting it all together
Message
From
30/11/2002 13:09:58
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
28/11/2002 22:46:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00728084
Message ID:
00728377
Views:
19
>I am having problem putting all the pieces together from displaying the splash screen to loading the main menu. Here is my situation and this is what I want to do.
>
>Splash Screen -> SQL Connection -> Login Screen -> Main Menu

You can run your Splash screen first. Put it on a timer and have it close itself when the timer runs out.

Next in the code is the SQL Connection stuff. This can run while the Splash screen is showing.

Next is a modal Login screen. Nothing further until the user successfully logs in.

Now do the code below.

>by running the start.prg which consist of the following codes.
>
>DO FORM c:\temp\Main.SCX
>SET CLASSLIB TO c:\temp\Libs\test.vcx ADDITIVE
>oEditor = CREATEOBJECT("Editor")
>oEditor.Show
>oEditor.Dock(0)
>
>oNavi = CREATEOBJECT("NAVIGATOR")
>oNavi.Show
>oNavi.Dock(0)
>
>READ Events
>
>This code was fine where I have my main menu as the top level form and the rest of the forms as in top level form. The toolbars works fines, but this skip the first three things that I want to achieve Splash Screen -> SQL Connection -> Login Screen.
>
>The one solution I have is to include a method for connection to the SQL Server in the init() of the main form and that was it.
>
>How would I achieve these tasks and still able to control but toolbar buttons from one single top level forms? Any suggestions or help is appreciated. Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform