Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 18011
Number of posts: 55384

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to get mouse position in picture box? Posted by MIRKOSOFT on 16 Nov 2012 at 12:21 AM
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



 

Recent Jobs