Print Page | Close Window

Radiobutton 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=20123
Printed Date: 20 May 2024 at 12:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Radiobutton on Ribbon
Posted By: pate
Subject: Radiobutton on Ribbon
Date 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



Replies:
Posted By: Willowmaster
Date 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





Posted By: pate
Date 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.



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