Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 17974
Number of posts: 55343

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



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.