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
 
Back
Top