Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Locked Property for the Edit Control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Locked Property for the Edit Control

 Post Reply Post Reply
Author
Message
Bjarne View Drop Down
Newbie
Newbie
Avatar

Joined: 30 December 2003
Location: Denmark
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bjarne Quote  Post ReplyReply Direct Link To This Post Topic: Locked Property for the Edit Control
    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

 

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Bjarne View Drop Down
Newbie
Newbie
Avatar

Joined: 30 December 2003
Location: Denmark
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bjarne Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.