1
Answer

resize control

Photo of sreenath7824

sreenath7824

21y
1.9k
1
Hi all, I am trying to create a custom control that would be resizeable. Instead of having handles like the usual control resize technique, I want to be able to resize with all the edges. I have implemented mousedown, mousemove, mouseup events on the controls. when i am testing it on the runtime window there is a lot of flickering. and also the resized control is not of desireable size. can someone help me out with a sample mouse move event to do this. any help is greatly appreciated

Answers (1)

0
Photo of nitin 0
NA 18 0 21y
Hi sreenath, I suggest you use BeginUpdate() and EndUpdate() methods like control.BeginUpdate() at starting of the code in your method ending with control.EndUpdate() and it should avoid flickering. Hope it helps. Nitin