How to get mouse position in picture box? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to get mouse position in picture box?

Hi!

I need to use mouse coordinates in picture box.

I used:

Control.MousePosition.X
Control.MousePosition.Y

How to replace it to:

PictureBox1.MousePosition.X
PictureBox1.MousePosition.Y

in syntax order 'cause it reports that expression will be not evaluated in shared member.

I'm new in VB.Net...

Many thanks for everything.

Miro
Sign In or Register to comment.