ME YET AGAIN

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
2 posts Page 1 of 1
Contributors
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

ME YET AGAIN
muttley1968
does anyone know to to see if the mouse is outside the form without using the mouse leve because this seems to activate it even if it goes over a button or panel
User avatar
M1z23R
VIP - Donator
VIP - Donator
Posts: 622
Joined: Tue Sep 28, 2010 4:55 pm

Re: ME YET AGAIN
M1z23R
you could use mouse leave, just check like this
Code: Select all
if e.x >= me.location.x and e.x =< me.location.x + me.width and e.y >= me.location.y and e.y =< me.location.y + me.width then 
'still in
Else
'it is out
End if
Code: Select all
[code/]
2 posts Page 1 of 1
Return to “Coding Help & Support”