Append "temporary" Tab to existing Ribbon

Nov 4, 2013 at 6:39 PM
Edited Nov 4, 2013 at 6:49 PM
Greetings,

First of all let me say this project is awesome and incredible well build. Pretty much everything i was looking for to my project.

I'm looking for a way to append a "temporary" tab to a main Ribbon when opening another form. Pretty much to replicate the behavior Word has when we click an image for example: a red/pink tab is added to the main ribbon with specific actions depending of the context we are.

I believe i will be able to do it creating a hidden tab on the main Ribbon and Hide/Show depending where i am but i can't find a way to add that "red/pink" look to it as office does neither how to select a tab by name.
MainV2.MainRibbon.Tabs(5).Visible = True
MainV2.MainRibbon.ActiveTab = MainV2.MainRibbon.Tabs(5)
Any ideas?

Cheers
Nov 26, 2013 at 7:29 AM
public Form1()
{
    InitializeComponent();
    ribbonTab2.Visible = false;
}

private void button1_Click(object sender, EventArgs e)
{
    ribbonTab2.Visible = true;
    ribbon1.ActiveTab = ribbonTab2;
}

private void button2_Click(object sender, EventArgs e)
{
    ribbonTab2.Visible = false;
    ribbon1.ActiveTab = ribbonTab1;
}
Nov 26, 2013 at 9:53 AM
Thanks mate, works great.

Any idea on how to highlight it like Word does? Maybe in Red/Pink?

Cheers
Nov 28, 2013 at 1:03 PM
Edited Nov 28, 2013 at 1:04 PM
This cannot be done as all the tabs are drawn using the same color.
You can do this by editing the source code.
but that might require a lots of work.
Nov 28, 2013 at 2:57 PM
Unfortunately that's something to advanced for my skills...

Either way thanks and keep up the good work!