MouseDown Help

  • Thread starter Thread starter shachar
  • Start date Start date
S

shachar

hi all.
in vb6 when the user clicked on the form, in
the "MouseDown" Event i had the x,y positions - where
the user clicked.
how can i do it in vb.net?
 
Shachar,

For a lot of those active in this newsgroup is the VB6 time at least two
years ago. While there are as well who never used it.

So when you want an upgrade answer please ask that in the newsgroup
microsoft.public.dotnet.language.vb.upgrade

When you want to know the x,y positions in a mousedown in VBNet, just ask
for that in this newsgroup.

You can find it in that event as e.X and e.Y

I hope this helps?

Cor

"shachar"
...
 
shachar said:
in vb6 when the user clicked on the form, in
the "MouseDown" Event i had the x,y positions - where
the user clicked.
how can i do it in vb.net?

Inside the handler, check 'e.X' and 'e.Y'. In some situations it may be
more appropriate to use the 'MouseUp' event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top