NTabControl.Invalidate not working on tabs


Author
Message
Brad Swearingen
Brad Swearingen
Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)
Group: Forum Members
Posts: 53, Visits: 3

I've added a custom renderer to my NTabControl to paint certain tabs a different color at times.  This works fine and was easy to add.

However, when I need to indicate that my tab needs to be redrawn with the new color I call the NTabControl.Invalidate() method and the tabs don't get invalidated.  (I saw there was a NTabPage.Invalidate() method too but it doesn't redraw the tab either.) 

For the moment, instead, I'm setting the NTabControl.Visible to false and then back to true to get the tabs to be invalidated.  How does one invalidate the tab area of an NTabControl?  I'm on Win7 using the 11.1.17.12 build.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search