E
Ed Debrot
I have a tabcontrol that has several attached tabpage's. Not all of the
tabpages should be accessible at all times. Ideally I'd like to do one of
the following:
- hide those tab pages that should not currently be accessible
OR
- change the font on the tab for the tabpages that are disabled (like gray
them out or something) as a means of user feedback that they're inactive
The problem is that none of this appears possible. Sure, I can catch the
click event on the "disabled" tabs but I want some visual indicator that
they are not currently enabled. Makes sense, right? Anybody come across
this? This seems like pretty basic functionality.
FYI - the Hide(), Visible, and Enabled methods/properties do not satisfy
this requirement. They work, but as it says in MSDN, this poor behavior was
"by design". Why doesn't that line work for me?
tabpages should be accessible at all times. Ideally I'd like to do one of
the following:
- hide those tab pages that should not currently be accessible
OR
- change the font on the tab for the tabpages that are disabled (like gray
them out or something) as a means of user feedback that they're inactive
The problem is that none of this appears possible. Sure, I can catch the
click event on the "disabled" tabs but I want some visual indicator that
they are not currently enabled. Makes sense, right? Anybody come across
this? This seems like pretty basic functionality.
FYI - the Hide(), Visible, and Enabled methods/properties do not satisfy
this requirement. They work, but as it says in MSDN, this poor behavior was
"by design". Why doesn't that line work for me?