Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - SOLVED: Missing system button on ribbon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Missing system button on ribbon

 Post Reply Post Reply
Author
Message
strider View Drop Down
Groupie
Groupie


Joined: 16 April 2008
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote strider Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Missing system button on ribbon
    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
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
strider View Drop Down
Groupie
Groupie


Joined: 16 April 2008
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote strider Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
strider View Drop Down
Groupie
Groupie


Joined: 16 April 2008
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote strider Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
strider View Drop Down
Groupie
Groupie


Joined: 16 April 2008
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote strider Quote  Post ReplyReply Direct Link To This Post 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
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.203 seconds.