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

Select Tab RibbonBar

 Post Reply Post Reply
Author
Message
evidica View Drop Down
Newbie
Newbie
Avatar

Joined: 31 March 2008
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote evidica Quote  Post ReplyReply Direct Link To This Post Topic: Select Tab RibbonBar
    Posted: 10 April 2008 at 4:26pm
I have a RibbonBar in a CommandBar like done through the examples.  How do I select a different tab in code?
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: 11 April 2008 at 1:05am
Hi,
 
RibbonBar.Tab(3).Selected = True
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
evidica View Drop Down
Newbie
Newbie
Avatar

Joined: 31 March 2008
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote evidica Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2008 at 9:14am
Just a note, I am doing this in C#, if that even matters, but I dont have RibbonBar.Tab method.  I have TabCount, TabPaintManager and TabsVisible.  Any Ideas?
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: 11 April 2008 at 2:44pm
C# converted it to inexer:
 

RibbonBar[3].Selected

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
evidica View Drop Down
Newbie
Newbie
Avatar

Joined: 31 March 2008
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote evidica Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2008 at 2:46pm
THANK YOU SIR! I wish there was better documentation for these things.
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.031 seconds.