Click here to Skip to main content
       

Visual Basic

 
GeneralRe: VB.NET / APPLICATION SETTINGS Pinmembermebjen29-Nov-12 4:29 
GeneralRe: VB.NET / APPLICATION SETTINGS PinmvpDave Kreskowiak29-Nov-12 10:36 
GeneralRe: VB.NET / APPLICATION SETTINGS Pinmembermebjen29-Nov-12 10:57 
GeneralRe: VB.NET / APPLICATION SETTINGS PinmvpDave Kreskowiak29-Nov-12 15:50 
QuestionMouse Down Event and Flag setting Pinmemberbig_col28-Nov-12 19:53 
AnswerRe: Mouse Down Event and Flag setting PinmemberSimon_Whale28-Nov-12 22:46 
GeneralRe: Mouse Down Event and Flag setting Pinmemberbig_col29-Nov-12 2:09 
GeneralRe: Mouse Down Event and Flag setting PinmemberSimon_Whale29-Nov-12 3:06 
You need to implement a mouse move event on the control not the form
 
i.e.
 
 Private Sub Control_MouseMove(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Label2.MouseMove
        If Moving Then
            Dim ctrl As Control = CType(sender, Control)
            ' Move the control according to mouse movement
            ctrl.Left = (ctrl.Left + e.X) - cursorX
            ctrl.Top = (ctrl.Top + e.Y) - CursorY
            ' Ensure moved control stays on top of anything it is dragged on to
            ctrl.BringToFront()
        End If
    End Sub
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch

AnswerRe: Mouse Down Event and Flag setting Pinmemberbig_col29-Nov-12 20:19 
AnswerRe: Mouse Down Event and Flag setting PinmemberAlan N29-Nov-12 3:09 
Questionvb6 to .net Pinmemberdvdljns28-Nov-12 7:42 
AnswerRe: vb6 to .net PinmemberZaf Khan28-Nov-12 16:58 
GeneralRe: vb6 to .net Pinmemberdvdljns1-Dec-12 5:47 
GeneralRe: vb6 to .net PinmemberZaf Khan1-Dec-12 8:00 
AnswerRe: vb6 to .net PinmvpDave Kreskowiak28-Nov-12 18:04 
QuestionDeleting a datarow, creating a query to find the row. - ANSWERED, Thank yo [modified] PinmemberJRHibner27-Nov-12 23:30 
AnswerRe: Deleting a datarow, creating a query to find the row. PinmemberAndy_L_J28-Nov-12 22:30 
GeneralRe: Deleting a datarow, creating a query to find the row. PinmemberJRHibner1-Dec-12 7:21 
GeneralRe: Deleting a datarow, creating a query to find the row. PinmemberAndy_L_J1-Dec-12 20:27 
GeneralRe: Deleting a datarow, creating a query to find the row. PinmemberJRHibner9-Dec-12 14:55 
QuestionModified Registry Key Pinmemberalirezamansoori27-Nov-12 18:52 
AnswerRe: Modified Registry Key PinmvpRichard MacCutchan28-Nov-12 0:02 
GeneralRe: Modified Registry Key Pinmemberalirezamansoori28-Nov-12 0:39 
GeneralRe: Modified Registry Key PinmvpRichard MacCutchan28-Nov-12 1:15 
QuestionLooking for idea for learning book PinmemberNaZReD24-Nov-12 9:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.141015.1 | Last Updated 20 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid