Removing a Splitter Control

  • Thread starter Thread starter TC
  • Start date Start date
T

TC

How do I make a Splitter control go away? Neither the Visible property nor
the Enabled property seems to have any effect.

-TC
 
TC said:
How do I make a Splitter control go away? Neither the Visible property nor
the Enabled property seems to have any effect.

Did you try to remove it from the container's 'Controls' collection?
 
Herfried,

Hiding the splitter by removing it from the Controls collection results in
cumbersome code.

Instead, I took the time to do it right; I created my own version of the
splitter. It works the same as System.Windows.Forms.Splitter, except that
its Width/Height can be set to 0.

-TC
 
Back
Top