Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: David Mustakim
  Where is David Mustakim?
 Jakarta
 Indonesia
 David Mustakim
 To: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 Tags
Subject: RE: Docking a form
Thread ID: 396016 Message ID: 396133 # Views: 27 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Wednesday, January 22, 2014 11:14:06 PM         
   


> > I just put a timer in the dockable form with interval set at 500 then:
> > ** at form load event: 
> > THIS.DOCK(2)
> > ** AND IN TIMER EVENT:
> > IF ! thisFORM.Docked 
> >    THIS.Enabled=.F.
> >    thisFORM.Dock(2)
> >    THIS.Enabled=.T.
> > ENDIF

> >
> >
> > Regards,
> > David
>
>
> Hi David,
>
> That will force the docking, but what is the difference about doing this and
> simply moving the form to a set position and having it always on top and Movable = .F.
> with Closable = .F. ?
>
> I am assuming with the reference to _screen there is a VFP environment windows
> around everything and once moved to say Move(10,10) the set position of the
> form will not change regardless of how you move around the main VFP environmental
> window.
>
> I still do not see the difference.
>
> Pete "the IceMan", from the Great White North of Canada.
> www.marathongriffincomputers.com

He has at least one existing form that needs to be maximized and apparently he is not willing to re-design. Your way would have part of it covered by the "fake-docked" form, that's what unacceptable to him. By proper docking, the remaining screen area (excluding docking area) will be the only area that gets filled up by any maximized form, so at all times no part of currently active form is ever blocked while docked form remains visible/accessible regardless of size and state of any other forms,

David

ENTIRE THREAD

Docking a form Posted by Victor Friedman @ 1/22/2014 10:00:26 AM
RE: Docking a form Posted by Borislav Borissov @ 1/22/2014 10:13:49 AM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 10:17:28 AM
RE: Docking a form Posted by Koen Piller @ 1/22/2014 10:39:10 AM
RE: Docking a form Posted by Koen Piller @ 1/22/2014 10:39:19 AM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 2:56:05 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 2:57:40 PM
RE: Docking a form Posted by Vilhelm-Ion Praisach @ 1/22/2014 11:48:30 AM
RE: Docking a form Posted by Koen Piller @ 1/22/2014 12:32:52 PM
RE: Docking a form Posted by Vilhelm-Ion Praisach @ 1/22/2014 2:07:42 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 3:00:42 PM
RE: Docking a form Posted by Vilhelm-Ion Praisach @ 1/22/2014 3:18:18 PM
RE: Docking a form Posted by Pete Sass @ 1/22/2014 4:15:58 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 4:23:05 PM
RE: Docking a form Posted by Koen Piller @ 1/22/2014 6:27:18 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 6:54:37 PM
RE: Docking a form Posted by David Mustakim @ 1/22/2014 7:21:25 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 8:20:06 PM
RE: Docking a form Posted by David Mustakim @ 1/22/2014 8:52:57 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 9:02:26 PM
RE: Docking a form Posted by Pete Sass @ 1/22/2014 9:45:37 PM
RE: Docking a form Posted by Koen Piller @ 1/22/2014 8:33:04 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 8:34:32 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 8:59:09 PM
RE: Docking a form Posted by David Mustakim @ 1/22/2014 9:05:50 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 9:14:22 PM
RE: Docking a form Posted by Pete Sass @ 1/22/2014 7:11:14 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 8:22:16 PM
RE: Docking a form Posted by Pete Sass @ 1/22/2014 9:29:43 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 9:33:50 PM
RE: Docking a form Posted by Pete Sass @ 1/22/2014 9:42:08 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 9:49:39 PM
RE: Docking a form Posted by David Mustakim @ 1/22/2014 10:03:36 PM
RE: Docking a form Posted by Pete Sass @ 1/22/2014 10:20:13 PM
RE: Docking a form Posted by David Mustakim @ 1/22/2014 11:14:06 PM
RE: Docking a form Posted by Pete Sass @ 1/22/2014 11:43:19 PM
RE: Docking a form Posted by David Mustakim @ 1/22/2014 10:03:38 PM
RE: Docking a form Posted by David Mustakim @ 1/22/2014 10:03:41 PM
RE: Docking a form Posted by Stefan Wuebbe @ 1/22/2014 7:19:20 PM
RE: Docking a form Posted by Victor Friedman @ 1/22/2014 8:26:11 PM