T
Themohawkninja
Guest
Hello,
I am attempting to write a program that will need to paint fillRectangles to a tabPage anytime the user selects a specific tabPage. I am having trouble figuring out how to do this, as it seems like I would need to somehow manually call the tabPage_Paint event, but I'm not even sure if that's what I'd have to do.
In essence, the code should look like this:
private: System::Void TabControl1_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e)
{
if(TabControl1->SelectedTab==tabPage1)
{
//Draw a fillRectangle on tabPage1
}
}
Continue reading...
I am attempting to write a program that will need to paint fillRectangles to a tabPage anytime the user selects a specific tabPage. I am having trouble figuring out how to do this, as it seems like I would need to somehow manually call the tabPage_Paint event, but I'm not even sure if that's what I'd have to do.
In essence, the code should look like this:
private: System::Void TabControl1_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e)
{
if(TabControl1->SelectedTab==tabPage1)
{
//Draw a fillRectangle on tabPage1
}
}
Continue reading...