Print Page | Close Window

Locked Property for the Edit 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=465
Printed Date: 04 December 2024 at 9:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Locked Property for the Edit Control
Posted By: Bjarne
Subject: Locked Property for the Edit Control
Date Posted: 22 February 2004 at 11:40am

Here is a wish for the Edit Control in CommandBar: Could you add a Locked Property for this control, so that is can be used to display data, users can not alter. Today we only have the possibility to Disable it, and that changes the way it looks.

Another wish is a Label Control embedded in, so that if you add a Custom Control to the toolbar, you can add a Label to the left or right of it.

Regards,

Bjarne

 




Replies:
Posted By: SuperMario
Date Posted: 22 February 2004 at 12:02pm
I'm not sure if this is what you mean by label, but you can show the text below your icons on the toolbar. 
   
ToolBar.ShowTextBelowIcons = True

This will work for custom controls.  Right now I think the only way to get a caption the the right is by using a split button popup.


Posted By: Bjarne
Date Posted: 22 February 2004 at 12:42pm

No that was not what I meant. If you use the build-in Combo Control you have the possibility to display a label/caption to the left of the ComboBox. If you use ICommandBarControlCustom this property is not available. So while I am writing this, I just figured out what I want.

I would like a property added to ICommandBarControlCustom that makes it possible to display a label with the control. In ICommandBarComboBox it is implemented using the .Style property and in ICommandBarEdit it is implemented using the .ShowLabel property.

Hope this explains it. (It's not easy when I don't even understand my self!)

Bjarne




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