Print Page | Close Window

Controlling toolbar layout

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1344
Printed Date: 07 November 2025 at 1:06am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Controlling toolbar layout
Posted By: Lehin
Subject: Controlling toolbar layout
Date Posted: 29 October 2004 at 7:13am

Hi, All

I've downloaded trial version of the XTP 9.51 in order to see how the library can be used with my program. Everything seems to be pretty good, except one thing... Please notice: i already have some framework, concepts and so on.

One of the concepts is the tools concept: i have some collections of tools, can switch between them, can stack them, etc. Any tool can show its own toolbars and panes, what is more, the framework (i mean common UI code) hasn't knowlege about all the tools. Tool itself doesn't create additional panes and bars - it just tells, what should be created.

So, there is a problem as i can see (or, may be, it's not a problem). I need to manage toolbars and panes layout somehow by myself. In particular, i have a common code, that shows/hides/places toolbars/panes (at least, it's presumed to work in this way). I can't create all toolbars and panes at one moment and keep them existing - so it's necessary to create/destroy toolbars/panes dynamicaly and (it's important) to keep them on desired place. Hence i need some mechanism to load/save state and placement of the single toolbar/pane (not the whole layout) i order to place correctly (as it's possible based on the current toolbars / panes layout) newly created toolbars/panes. Is it possible? At first glance (at the second too ) i couldn't find the way to separately save/restore placement of the bars and their docking state.

 




Replies:
Posted By: Lehin
Date Posted: 02 November 2004 at 5:25am

Sorry for importunity... but the ability of the separate saving/restoration toolbars/panes is important for me. In case i will not solve the problem it's impossible to purchase the library for using in my product.



Posted By: Oleg
Date Posted: 02 November 2004 at 7:00am

You can only hide/show individual toolbars.

See sample https://forum.codejock.com/uploads/oleg/2004-11-02_065947_ViewBars.zip - 2004-11-02_065947_ViewBars.zip



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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