SOLVED: Missing system button on ribbon |
Post Reply |
Author | ||
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
Posted: 29 October 2009 at 5:43pm |
|
I just updated my VB6 project to use 13.2.0. I was previously using 13.1.0. The System button is no longer displaying properly.
I changed my code to use the ButtonCaption style, but it did not help: Set controlpop = RibbonBar.AddSystemButton controlpop.Style = xtpButtonCaption controlpop.IconID = ID_SYSICO controlpop.SetIconSize 32, 32 Any ideas? |
||
ActiveX 13.2.1
Strider |
||
joeliner
Senior Member Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
|
|
update to 13.2.1
|
||
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3 Language: Visual Basic 6 SP6 |
||
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
|
Hi, assign some caption: controlpop.Caption = "File"
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
|
|
I tried adding a caption but it just showed the caption:
I also tried the 16*16 icon, but no joy. How do I download the 13.2.1? |
||
ActiveX 13.2.1
Strider |
||
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
|
|
OK, now I am really confused.
Because we developed our interface before the CodeJock CommandBars Designer was as good as it is now, our entire toolbar is created from code commands. I just copied our ribbon_Load function into the sample MDI Commandbar project, and the system icon works just fine. Could there be some residual effect from the previous 13.1.0 that is still in my VB project somehow? |
||
ActiveX 13.2.1
Strider |
||
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
|
Hi,
This line
controlpop.Style = xtpButtonCaption
set it to caption style.
controlpop.Style = xtpButtonIcon - will show icon
controlpop.Style = xtpButtonAutomatic - will work as previous release. |
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
|
|
YES! That did it!
Here is what my code looks like now: Set controlpop = RibbonBar.AddSystemButton controlpop.IconID = ID_SYSICO controlpop.Caption = "File" controlpop.Style = xtpButtonAutomatic Thank you so much Oleg! |
||
ActiveX 13.2.1
Strider |
||
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 |