<i><font color="#663300">That line instantiates the splash image. What is the value of <b>cSplashImage</b> for your application class? Do you have a class defined for that value?
Frankly none, am I supposed to give a file pathname or anything else</font></i>
You need to include the name of the class for your splash image. Here is the code from the <b>ShowSplash()</b> method:
<code>IF This.lShowSplash *-- Add the splash image object to the main FoxPro *-- window. _screen.AddObject("oSplash", This.cSplashImage)</code>
So you see you need a class defined in your cSplashImage property. Typically, the class is a simple Image control, with the Picture property and the sizing set to the image you want to display for your splash screen.
<font color="#cc0000"> ___/ / __/ / ____/</font> Ed Leafe ©2001 Ed Leafe |