INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Forms & Screen

How to hide the Main VFP Screen ? by ramani
Posted: 8 Nov 01 (Edited 15 Nov 03)

**********************************************************
** 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
 

Back to Microsoft: Visual FoxPro FAQ Index
Back to Microsoft: Visual FoxPro Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close