Visual Basic 2008 Implement Mouse Up Mouse DownJun 8, 2010
I have a Richtextbox and I would Like the user of the program to be able to drag and drog the richtextbox in other specified places in the program.
I have this very basic
Private blnLifting As Boolean = False
Private Sub richTextBox4_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles RichTextBox4.MouseDown
Firstly its very inaccurate. I want it so the Richtextbox moves with the mouse and not after the mouse. So I want a smooth drag and drog.
So I don't know if this is the wrong code for something that I want perfect like that.
Secondly I dont know if its possible but I would like it so the box can only be dropped in certain area's in my program and if there is a box already occupying that space, It goes back to where it was before.