I want have a groubox , that is resizeable by the user at Runtime with the mouse

  • Thread starter Thread starter Peter Stojkovic
  • Start date Start date
P

Peter Stojkovic

I want inherit a new Groupbox , that is resizeable by the user with the
mouse at runtime

What I have to do ??

Peter
 
Peter,

You will have to do a few things here. Basically, you will have to have
a mouse handler on the groupbox which determines when you press the mouse
button down. Once you do, you would set a flag indicating that the mouse
button is held down.

Then, in the event handler for when the mouse moves, you would check the
flag, if the flag is set to true, then adjust the Size property accordingly.

Hope this helps.
 
Back
Top