Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Victor Friedman
  Where is Victor Friedman?
 Moscow
 Russia
 Victor Friedman
 To: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 Tags
Subject: RE: Docking a form
Thread ID: 396016 Message ID: 396094 # Views: 29 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Wednesday, January 22, 2014 8:22:16 PM         
   


> >
> > This is a substitute solution, but it won't work for me. I have another form that is maximized in _SCREEN. So with your solution, it will simply overlap the "pseudo-docked" form. So it needs to be docked, but at the same time undockable, unmovable, and unclosable.
> >
> > -Vick
>
>
> Hi Vick,
>
> I think what is bothering me here is what you are after is something like a docked form, but not
> really 100% behaving like a true docking. So you get stuck in the middle knowing full well what
> you want to have happen visually, but struggling with achieving your end goal!
> .. Does that about sum things up?
>
> If your substitute docked form is set to be always on top and your maximized form in _screen is not then
> initially when loaded your substitute docked form will appear as it should.
>
> Now what you need is a mechanism that when you do click on your main full sized form that the other
> substitute docked form pops to the top. Does that sound like visually what you are after?
>
> If so in the substitute docked form create a form property that can be called that will in fact popup
> this substitute docked form to the top of the zOrder and set focus on some object in this form.
> By the way a very simple way to pop a form to the top and make it active would be something like:
>
lcFormName = Thisform.Name 
> ACTIVATE WINDOW (lcFormName)

>
> Call this substitute docked form with DO FORM frmName NAME frmName so that you now have an object reference
> name to this form. How you could call the form method to pop the form to the top from the main full sized form
> and play with a couple of events such as Active, Click event, Mouse events, etc.
>
> in a form method maybe called poptop. If the form is loaded with the Name option and the original loading of the
> form was something like :
>
>
DO FORM frmSubstituteDocked NAME frmSubstituteDocked

>
> You could from your maximized form issue frmSubstituteDocked.poptop
>
> JUST SOME IDEAS TO PLAY AROUND WITH... NOT SURE IF APPLICABLE FOR YOU?
>
> Pete "the IceMan", from the Great White North of Canada.
> www.marathongriffincomputers.com


Thanks Pete, perhaps this could work. But again, it looks overly complicated. I was looking for a more straightforward solution, but apparently there is none. So I will keep searching for workarounds.

-Vick

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