Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Dale Dedoroy
  Where is Dale Dedoroy?
 Bacolod City, Negros Occidental
 Philippines
 Dale Dedoroy
 To: Paul Culbertson
  Where is Paul Culbertson?
 Katy
 Texas - United States
 Paul Culbertson
 Tags
Subject: RE: Dock Positions of multiple toolbars
Thread ID: 264 Message ID: 265 # Views: 2 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Monday, May 21, 2001 10:27:45 PM         
   


> I have an instance where i need to have multiple toolbars for one form. The problem is that by default i need to place the toolbars docked on the top...i can't place them side by side because the buttons would extend off the screen. I need to be able to programmatically dock the toolbars one on top and the other below. I can do it with the mouse after they load but not with out the mouse.
>
> TIA
>
> Paul Culbertson
>
> Houston, TX
>

Hi Paul,
Try MyToolBar.Dock(nPosition[,nX,nY])
Where nPosition is one of the following:
-1 Undocks the toolbar
0 Docks the toolbar at the top
1 Docks the toolbar at the left
2 Docks the toolbar at the right
3 Dock the toolbar at the bottom

nX is for the top and bottom coordinates
nY is for the side coordinates

If nX and nY are omitted, VFP places the toolbar at the next available position on the specified side.

Hth,
Dale

ENTIRE THREAD

Dock Positions of multiple toolbars Posted by Paul Culbertson @ 5/21/2001 5:20:31 PM
RE: Dock Positions of multiple toolbars Posted by Dale Dedoroy @ 5/21/2001 10:27:45 PM
RE: Dock Positions of multiple toolbars Posted by Paul Culbertson @ 5/21/2001 10:33:47 PM
RE: Dock Positions of multiple toolbars Posted by Dale Dedoroy @ 5/21/2001 11:02:24 PM
RE: Dock Positions of multiple toolbars Posted by Dale Dedoroy @ 5/21/2001 11:18:29 PM
RE: Dock Positions of multiple toolbars Posted by Paul Culbertson @ 5/22/2001 12:45:47 AM