Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Override the mouse down event, set a flag (ex. mouseDown = true)

Override the mouse up event, set the flag to false

 

Override the mousemove event, check for the mouseDown flag and change the location of the panel relative to the mouse movement.

 

You might want to change the cursor when it is over a moveable panel or give the panel a border if it is not distinct on the form.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...