Programmatically Drive RibbonBar |
Post Reply |
Author | |
gregw
Newbie Joined: 21 July 2008 Location: United States Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 21 July 2008 at 8:36pm |
I am using the ActiveX control version 12.0.1 with VB6. I have added a RibbonBar or let's even take the RibbonBar example.
How can I programmatically click icons.
Also I need to programmatically drive checkboxes from various functions in my app.
Can you help?
gregw
|
|
Greg White
|
|
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
|
Hi,
You can do this using Actions. Take a look at CommandBarActions overview in help file which explains how to set it up. Once you've added actions you can 'click' icons by doing something like: CommandBars.Actions(CONTROL_ID).Execute and use the Checked property on the checkboxes. |
|
gregw
Newbie Joined: 21 July 2008 Location: United States Status: Offline Points: 3 |
Post Options
Thanks(0)
|
ijwelch,
Thanks, that's just what I needed.
gregw
|
|
Greg White
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |