Print Page | Close Window

SOLVED: Missing system button on ribbon

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=15498
Printed Date: 06 October 2024 at 4:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: Missing system button on ribbon
Posted By: strider
Subject: SOLVED: Missing system button on ribbon
Date 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



Replies:
Posted By: joeliner
Date Posted: 30 October 2009 at 2:00am
 
 
Fixing source File Button only allowed 16*16 icon size
 
update to 13.2.1


-------------
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3
Language: Visual Basic 6 SP6


Posted By: Oleg
Date Posted: 30 October 2009 at 8:21am
Originally posted by strider strider wrote:

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?
 
Hi, assign some caption: controlpop.Caption = "File"


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: strider
Date Posted: 30 October 2009 at 9:16am
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


Posted By: strider
Date Posted: 30 October 2009 at 9:45am
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


Posted By: Oleg
Date Posted: 02 November 2009 at 7:49am
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


Posted By: strider
Date Posted: 03 November 2009 at 9:31am
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



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