Print Page | Close Window

Using toolbars with Codejock controls

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=1462
Printed Date: 27 September 2024 at 10:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Using toolbars with Codejock controls
Posted By: Geraint P
Subject: Using toolbars with Codejock controls
Date Posted: 25 November 2004 at 9:24am

Hi there. We have an MDI form which has the following;

  1. A commandbar object at the top which holds the menu commands.
  2. A standard toolbar (i.e. not a commandbar) beneath this.
  3. A docking pane (docked to the left of the screen) beneath this.

Our problem is that we would like the toolbar to align correctly to the left of the screen; underneath the commandbar menu, but above the docking pane. At the moment it only seems possible to get it to align to the right of the dockingpane. Is there anyway of achieving this?

We've tried using the MoveAlignedControls method but can't seem to obtain the result we want. Is our only solution to convert the toolbar to a commandbar?

Oh, and happy Thanksgiving. Enjoy your turkey.

 




Replies:
Posted By: jiri
Date Posted: 27 November 2004 at 8:46am

Hi,

Can You explain, why You want to use standard toolbar?

Jiri



Posted By: SuperMario
Date Posted: 29 November 2004 at 10:06am
What was result from using MoveAlignedControls?

Try placing the standard Toolbar in a PictureBox, then use MoveAlignedControls.


Posted By: Geraint P
Date Posted: 29 November 2004 at 11:03am

For toolbar, read coolbar, although it doesn't make much of a difference to the question. The reason we want to use that instead of a commandbar? Well, it's a complicated coolbar (in a complicated application), and in the short-term we'd like to keep that in place whilst moving others aspects of the codejock controls into the app. We do plan to replace it eventually, but it would be nice to keep it in place in the short term.

I think the easiest way to describe my problem is to reference one of your code samples. In the MDISample code for docking panes (not the command bar version) how would you re-write it so that it used a commandbar for the menu system, but the existing toolbar remained exactly as it is?

 




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