Print Page | Close Window

Category Handle / Caption

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=16901
Printed Date: 06 October 2024 at 9:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Category Handle / Caption
Posted By: oli.dune
Subject: Category Handle / Caption
Date Posted: 02 July 2010 at 5:47am
Hi there,

Let's consider a TabToolbar with an "Items" category (i.e. category's caption property = "Items").
I want to add a ControlButton to this category, so once the ControlButton is created, I set its Category property to "Items" (i.e. the category's caption).
So far so good.

Now if for some reasons (multilingual environment or whatever), the Category's caption changes, the related ControlButton(s) disappear (if you jump to another category, then move back to the first one).

Is there a way to attach a control to a category by referencing the category's TabControlItem handle rather than its Caption property (that is subject to change)?

Thanks




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