![]() |
Icon of xtpControlLabel |
Post Reply ![]() |
Author | |
s.neu ![]() Groupie ![]() Joined: 31 October 2006 Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() Posted: 19 January 2007 at 5:58am |
Hello,
It seems that labels have to have an icon. If I state none it grabs one. I would set the Style, but only buttons have this property. How do I tell a xtpControlLabel to show no icon? Thanks. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, Labels also have Style property. Set it to xtpButtonCaption.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
s.neu ![]() Groupie ![]() Joined: 31 October 2006 Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() |
Hi,
The Add-Method of CommandBarControls returns a CommandBarControl. Doing sth. like this Dim cbb As CommandBarButton [...] Set cbb = .Add(xtpControlButton, 100, "sth.") I would expect an error (type mismatch), but it works. This instead Set cbb = .Add(xtpControlLabel, 100, "sth.") causes this error so I have to do Dim ccc As CommandBarControl Set cbb = .Add(xtpControlLabel, 100, "sth.") and guess: no Style-Property! Only CommandBarButton/Combobox/Popup have it and there's no CommandBarLabel... ![]() Depends this on the version? I'vs 9.80 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
yes, it was added after. You can change Id of button to some Id that don;t have corresponded Icon.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |