Dynamically redraw splitter control

  • Thread starter Thread starter shrewdmonkey
  • Start date Start date
S

shrewdmonkey

Hi all,

I'm new to this .NET thing and I was wondering if there is any way to
make a splitter control redraw its affected controls while it is being
dragged as opposed to when the mouse button is released.

Any ideas?

Many thanks!

Chris
 
Solved my own problem, assuming the splitter is called "splitter1" in
the splitter1_SplitterMoving event put the following line:

splitter1.SplitPosition=splitter1.SplitPosition;

this forces a redraw (which is strange since "splitter1.refresh"
wouldn't work)

Cheers,

Chris
 

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