Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Welcome Screen
Message
From
29/07/2005 10:38:03
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01036914
Message ID:
01036987
Views:
10
>>I have now created a form with a logo, how do I display it for say 5 secs then load my main form?
>>
>>Thanks Guys
>
>try:
>
>m1 = CREATEOBJECT("MyForm")
>DECLARE INTEGER Sleep IN WIN32API INTEGER
>m1.Show()
>Sleep(5000)
>
>
>DEFINE CLASS MyForm AS Form
>    Width = 300
>    Height = 100
>ENDDEFINE
>


That's fine as a delay form. It shows for a while then dissappearas. Most times a Splash screen is used instead to show something while a program loads. But of course you know that. :)


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform