Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Forms & Form designer
Title:
Application splash screen
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only