By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,461 Members | 1,120 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,461 IT Pros & Developers. It's quick & easy.

MouseDown Help

P: n/a
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?

Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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"
...
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?

Nov 21 '05 #2

P: n/a
"shachar" <an*******@discussions.microsoft.com> schrieb:
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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.