Print Page | Close Window

wrong caption action and associated control

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=13262
Printed Date: 27 September 2024 at 12:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: wrong caption action and associated control
Posted By: marcel
Subject: wrong caption action and associated control
Date Posted: 26 January 2009 at 5:15pm

Hello,

 

I use the commandbars with the Actions enabled. However, if I set the caption of an action object all the associated commandbar controls still keep their original caption.

I tried to debug this, and when I display the caption of the commandbar control and the caption of the action control of this commandbar control I see different captions! With other properties of the Action object it goes right, like checked, tooltiptext, enabled, etc.

So:
Commandbars.Actions(ID).Caption <>
CommandBar.Controls(ID).Action.Caption
 
What's wrong?
 
 



Replies:
Posted By: Oleg
Date Posted: 27 January 2009 at 1:22am
Hi,
Just don't set individual captions for controls when you create them.


-------------
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