**********************************************************
** How to hide the Main VFP Screen.
**********************************************************
** by Subramanian.G (ramani)
** FoxAcc Software
** ramani_g@yahoo.com
**********************************************************
**
** 1. Add the following code in your Form suitably.
MyForm.InitEvent
_SCREEN.Visible = .F.
This.Show()
READ EVENTS
**
** 2. set in the forms property sheet...(not thro code)
.ShowWindow = 2
.MDIform = .f.
.ALwaysOnTop=.t.
**
** 3. All other forms called from this form,
.ShowWindow = 1
** 4. Note that if the _screen is OFF, then when you do a PrintPreview, remeber to set _screenVisible = .t. before the REPORT FORM... syntax and reset it to false after the preview. Otherwise, the native PrintPreview by VFP which is always to SCREEN will not show up.
** 5. Add "SCREEN=OFF" in the CONFIG.FPW. Adding this will ensure, even the momentary flicker by the VFP screen appearing and then disappearing will go. (However, this is not a must, if the flickering can be accepted).
**********************************************************
** EOF
**********************************************************
Ramani
(Subramanian.G), FoxAcc/Winner Soft, ramani_g@yahoo.com
www.winnersoft.coolfreepages.com
**********************************************************
Evaluate this to make others know how useful is this
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.