Print Page | Close Window

Custom control in toolbars with caption

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1866
Printed Date: 17 November 2024 at 9:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Custom control in toolbars with caption
Posted By: oyalhi
Subject: Custom control in toolbars with caption
Date Posted: 27 February 2005 at 12:06pm

I put some custom controls (ms dtpicker) on a toolbar programatically.  I want to put a caption to the control also but cannot do it programatically.  It is possible to do it with the designer, but I do not want to use it.  For a combo box I can do "CommandBarComboBox.Style = xtpComboLabel", how do I do it with a custom control?

Any help is appriciated.

Regards, Omer




Replies:
Posted By: SuperMario
Date Posted: 27 February 2005 at 3:29pm
You can add a label control before the DatePicker control.  Instead of adding a xtpControlButton add a xtpControlLabel.


Posted By: oyalhi
Date Posted: 27 February 2005 at 11:56pm
Thanks, that should also do the job.  I'll try that.



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