![]() |
Display Icon and Caption Not Working |
Post Reply
|
| Author | |
AQue
Newbie
Joined: 18 December 2006 Location: South Africa Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Topic: Display Icon and Caption Not WorkingPosted: 18 December 2006 at 9:52am |
|
Hi
I require the Menu Button to have both the icon and the Caption I am using the following Code with Visual Basic 2005
After running the Following Code I only get the Icon and not both The icon and the Caption what am I doing wrong
Please Help
Dim Control as XtremeCommandBars.CommandBarControl
Dim ToolBar As XtremeCommandBars.CommandBar
ToolBar = CommandBars.Add("Standard", XTPBarPosition.xtpBarTop) With ToolBar.Controls .Add(XTPControlType.xtpControlButton, 100, "Menu") Control.Style = XTPButtonStyle.xtpButtonCaption End With CommandBars.Icons = ImageManager.Icons Cheers AQue |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 December 2006 at 10:24am |
|
Hi,
You set xtpButtonCaption style but see only Icon? try xtpButtonIconAndCaption....
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 December 2006 at 10:24am |
|
Actually I don't see where you set Control?
Set Control = .Add(XTPControlType.xtpControlButton, 100, "Menu")
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
AQue
Newbie
Joined: 18 December 2006 Location: South Africa Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 December 2006 at 1:41am |
|
Thanks
It now works
|
|
![]() |
|
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 |