G
Guest
Hi,
I'm hoping someone can help me. I am adding a new tab at runtime but not
making it the selectedindex. I am adding controls and setting color of the
tab before adding it to the tabcontrol. After I add it is shows up fine but
when I click on it to make it the active tab it seems to have trouble
painting it. Just the tab changes to white but the main part of the tab
remains the same as the prior tab and then the app hangs.
If I add the tab and make it the selected tab it works great. But I want to
add it and the controls without making it selected and have the user click to
it.
thanks for any help,
Rob
I'm hoping someone can help me. I am adding a new tab at runtime but not
making it the selectedindex. I am adding controls and setting color of the
tab before adding it to the tabcontrol. After I add it is shows up fine but
when I click on it to make it the active tab it seems to have trouble
painting it. Just the tab changes to white but the main part of the tab
remains the same as the prior tab and then the app hangs.
If I add the tab and make it the selected tab it works great. But I want to
add it and the controls without making it selected and have the user click to
it.
thanks for any help,
Rob