Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application splash screen
Message
From
19/05/2004 09:25:25
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Application splash screen
Miscellaneous
Thread ID:
00905245
Message ID:
00905245
Views:
70
Hi,

I'm trying to display a splash screen from my VFP8SP1 startup prg. I want this to show as soon as possible after the app starts. I also want it to look like the typical Microsoft ones - no title bar, no border - like good old VFP's.

I thought that I'd create a form class to do it. I made the form with the following properties:

.AlwaysOnTop = .T.
.AutoCenter = .T.
.BorderStyle = 0 - No border
.Caption = ""
.Closable = .F.
.ControlBox = .F.
.MaxButton = .F.
.MinButton = .F.
.Movable = .F.
.ShowWindow = 2 - As Top-Level Form
.TitleBar = .F.

While this looks good at design time (after I add an image to it, etc.), I cannot get rid of the titlebar at runtime! What am I doing wrong? I set _VFP.Visible=.F. first. I suspect that it has something to do with the fact that it is a Top-level Form, but, this is the only way that I know to make it behave like a "true splash screen". i.e. appearing as the first thing a user sees after starting up.

TIA

Mike
Next
Reply
Map
View

Click here to load this message in the networking platform