John Baird
Coatesville, Pennsylvania, United States
>>I need to be able to disable tab pages when a form is in Edit mode. I'm looking for something simple like tabPage1.enable = true/false. However, I don't see anything. I can't disable the entire tab control as the textboxes I'm editing are on the tab control page.
>>
>>Is there an easy way to enable and disable individual pages?
>>
>>thanks
>
>>Hi,
>
>>There is a Tabpage.Enabled property.......
>
>
>I looked at that but it Help states it is not used in .net framework and it doesn't compile if I try to force it. at least this is the case in VS 2008. So I'm either missing something or it's not working.
>
>Alan
There are some code workarounds for this that are not that easy to implement (it involves owner drawing the tabs). The easiest sollution is to use a 3rd party tab control that supports enabling/disabling, removing,.... etc.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only