Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Programmatically Drive RibbonBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Programmatically Drive RibbonBar

 Post Reply Post Reply
Author
Message
gregw View Drop Down
Newbie
Newbie


Joined: 21 July 2008
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote gregw Quote  Post ReplyReply Direct Link To This Post Topic: Programmatically Drive RibbonBar
    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
Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Posted: 21 July 2008 at 8:57pm
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.
Back to Top
gregw View Drop Down
Newbie
Newbie


Joined: 21 July 2008
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote gregw Quote  Post ReplyReply Direct Link To This Post Posted: 21 July 2008 at 9:24pm
ijwelch,
 
Thanks, that's just what I needed.
 
gregw
Greg White
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.188 seconds.