Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Radiobutton on Ribbon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Radiobutton on Ribbon

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


Joined: 27 April 2009
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote pate Quote  Post ReplyReply Direct Link To This Post Topic: Radiobutton on Ribbon
    Posted: 12 September 2012 at 8:25pm
Does anyone know how to put a group of Radiobuttons on a RibbonBar group?  I'm using VB6 / ActiveX version of Codejock.  The example show all kinds of controls but I can't find one for Radio Buttons.  When I use this code:
 
Set Control = GroupClipboard.Add(xtpControlRadioButton, ID_VALUE, "Value")
 
I get an error of a type mismatch.  I try to Dim the variable like the others are:
 
Dim ControlPaste As CommandBarCheckBox
 
put there is no type for "CommandBarRadioButton" ort anything that looks like what I need.  I tried CommandBarControl and others can't find anything that will work.
 
-M.Pate
Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2012 at 9:44am
Maybe you can solve this with a gallery?
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0



Back to Top
pate View Drop Down
Groupie
Groupie


Joined: 27 April 2009
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote pate Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2012 at 3:36pm
Thanks for the reply.  I'd rather stick with the stock controls.  I've got it to load now, but the Radio buttons are more or less independent, not taking care of the de-selection of the previous selection when you select a new radio button.  I can do thatin a For Loop in the execute event, but was hoping to be able to handle it the same way Radio Buttons are used in regular VB code.
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.155 seconds.