Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Add Buttons to xtpControlSplitButtonPopup in QA
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add Buttons to xtpControlSplitButtonPopup in QA

 Post Reply Post Reply
Author
Message
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Topic: Add Buttons to xtpControlSplitButtonPopup in QA
    Posted: 19 May 2008 at 3:27pm
Is there a way to add buttons (or other controls) to a xtpControlSplitButtonPopup control in the Quick Access bar? I've tried:


      Set objQA = mobjRibbonBar.QuickAccessControls.Add(xtpControlSplitButtonPopup, CMD_Print, "Print")
      objQA.Controls.Add xtpControlButton, CMD_PrintSetup, "Print Setup"


    To try and get Print Setup to attach to the combo portion of the Print command, but it gets added to the area below the quick access bar instead of to the popup menu.

Thanks in advance.
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 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: 19 May 2008 at 3:53pm
Hi,
 
try
 
Set objQA = mobjRibbonBar.QuickAccessControls.Add(xtpControlSplitButtonPopup, CMD_Print, "Print")
objQA.CommandBar.Controls.Add xtpControlButton, CMD_PrintSetup, "Print Setup"
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2008 at 4:00pm
Hi Oleg,

Thanks, I was just about to come back and post that I found this, so sorry for wasting your time. The reason I didn't find this earlier is that for some reason the CommandBar property is not showing up in the Intellisense list for the CommandBarControl object. I figured I would try it anyway since it was in your sample, and it worked...is this something you can verify on your end (if not, I guess something is just misconfigured on my end).


Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

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.171 seconds.