main logo
Subject: Re: Fresh CB62B4 app, First Time Preferences and Splash Screen.
Author: Ed Leafe
Posted: 2002/02/14 16:04:13
 
View Entire Thread
New Search


<i><font color="#663300">I just created a fresh fresh app. I started the app and I was shown the message saying that I am running it for the first time and should set up the preferences. When I okay it the app exits. I could not pinpoint it but there is something wrong with the creation of the preference form.</font></i>

Ah, I see the problem. To fix it, do the following: in your local app class, modify the Do() method so that right after the line:
<code>IF EMPTY( This.GetSetting("On Off Settings", "Set Bell", ""))</code>
add the line:
<code>This.ReleaseSplash()</code>

I'll add it to the template app class.

<i><font color="#663300">Hey, where can I set the time for the splashing of the splash screen.</font></i>

You can't, really, unless you add an INKEY() statement or the equivalent to your app's Do() method. The splash appears for as long as it takes your app to set up its environment. If that's quick, well, then so is the splash.

<i><font color="#663300">Also can we remove the caption in the splash screen, I tried this.caption="" in the splashform.init() before and after the dodefault() but it did not work.</font></i>

I tried, too, but it seems that any top-level form must have a title bar. That's why I added the cSplashCaption property of the app class so that you can customize this for your needs.
<font color="#cc0000"> ___/
/
__/
/
____/</font>
Ed Leafe
 
©2002 Ed Leafe
<-- Prior Message New Search Next Message -->