![]() |
Ribbonbar question |
Post Reply
|
| Author | |
moe188
Senior Member
Joined: 27 March 2006 Status: Offline Points: 225 |
Post Options
Thanks(0)
Quote Reply
Topic: Ribbonbar questionPosted: 08 June 2006 at 7:01pm |
|
Hi, I asked this question before but I did not get the answer expected. now, how can I be able to let my program to do following things: 1- when the user click a tab in the ribbonbar called "Appointment", I want the calendar control to be displayed, and whatever was on the screen will not be visible. 2- then when the user click another tab on the same ribbonbar called "Contact" the calendar control will be invisible and another control will be visibe to the user. Note: I am using VB6 and Xtreme CommandBars 10.1.1 Thank you,
|
|
![]() |
|
jcollier
Senior Member
Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 June 2006 at 11:18am |
|
moe,
I don't know if this is the correct way but here's how I did it. You may want to devise a way to only run this once instead of every time the commandbars_update event fires though. In the CommandBars_Update event: Dim tabSelected as RibbonTab Set tabSelected = RibbonBar.Tab(0) if tabSelected.Selected = True then Do Something Here Set tabSelected = RibbonBar.Tab(1) if tabSelected.Selected = True then Do Something Else Here |
|
![]() |
|
jcollier
Senior Member
Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 June 2006 at 11:18am |
|
Forgot to mention that I am using version 10.2
|
|
![]() |
|
moe188
Senior Member
Joined: 27 March 2006 Status: Offline Points: 225 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 June 2006 at 7:13pm |
|
Hi, so you ssaying that even with the release of the 10.2 version, there is no way you can use 'control.id' to identify which tab is clicked?
|
|
![]() |
|
jcollier
Senior Member
Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 June 2006 at 11:07pm |
|
Not that I can find.
|
|
![]() |
|
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 |