Tab color

Okay, I have a form and I have a tab control thing. On the second tab, I have a button which is supposed to turn the background green.

So, I have this:

#pragma endregion
private: System::Void greenButton_Click(System::Object^ sender, System::EventArgs^ e) {
this ->BackColor = System::Drawing::Color::Green;

But clearly that just turns the FORMS background green. How can I change the TAB background to green.

Thankyou!!!
closed account (Dy7SLyTq)
why are you asking for c# help (this is c# right? i know it uses system and c++ doesnt have an ^ that is used like that) on a) a c++ site? and b) on the c++ help section. if anything this should be in lounge
I think it is C++/CLI which despite the name it is not C++.
closed account (Dy7SLyTq)
your right: http://en.wikipedia.org/wiki/C%2B%2B/CLI
Topic archived. No new replies allowed.