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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top