Print Page | Close Window

Vertical ToolBar Docking

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=16326
Printed Date: 27 November 2024 at 3:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Vertical ToolBar Docking
Posted By: noury
Subject: Vertical ToolBar Docking
Date Posted: 02 March 2010 at 7:56am
Hi,
 
When calling CommandBars.DockToolBar(...) one needs to pass X and Y coordinates where to dock the toolbar.
For horizontal toolbars (top and bottom), X seems to be the most left edge of the toolbar while y appears to be half way between the top and bottom.
 
Is this is correct ?
 
For vertical toolbars (left and right), what is the expected X (still the most left edge ? or half way between left and right of the toolbar rectangle ?)
And what is the expected y ? (is't the top of the toolbar rectangle area or its bottom ?)
 
According to ( http://codejock.com/support/articles/com/commandbars/cb_3.asp - http://codejock.com/support/articles/com/commandbars/cb_3.asp ) for vertical toolbar, the x seems to be the half way
and the y seems to be the bottom ?
 
Thanks
Noury
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net