I'm confused. If you want the LocationChanged event, there is the
OnLocationChang ed method. Normally you prepend the event name with
"On". Isn't that obvious?
>let me rephrase this... I know there is a locationchanged event, but what is
>its OnEvent (overridable) method?
>
>"Smokey Grindle" <nospam@nospam. comwrote in message
>news:%23MZ1ijs zHHA.3768@TK2MS FTNGP06.phx.gbl ...
>Is there any way for a control to know when its location moved? and
>OnEvents or such?
>>
To add to this, it is also NOT already used anywhere in the class... checked
that a couple times already :(
"Smokey Grindle" <nospam@nospam. comwrote in message
news:OxswX3uzHH A.748@TK2MSFTNG P04.phx.gbl...
>I dont have one? this is all I can override... look at attached image...
>and if I type it manually it tells me there is nothing that can be
>overridden with that name / definition
>
>
Private Sub Button6_Move(By Val sender As Object, ByVal e As
System.EventArg s) Handles Button6.Move
Console.WriteLi ne(Button6.Top. ToString)
End Sub
Private Sub Button7_Click(B yVal sender As System.Object, ByVal e As
System.EventArg s) Handles Button7.Click
Dim i As Integer = Button6.Top
i -= 10
Button6.Top = i
End Sub
"Smokey Grindle" <nospam@nospam. comwrote in message
news:%23MZ1ijsz HHA.3768@TK2MSF TNGP06.phx.gbl. ..
Is there any way for a control to know when its location moved? and
OnEvents or such?
>
Comment