msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mouse position

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax
Author Message
David



Joined: 04 Oct 2007
Posts: 38

PostPosted: Sat Dec 02, 2006 2:01 pm    Post subject: Mouse position Reply with quote

Hello all

This is a relatively simple question, but I can't find an answer.

I have a form, on which there is (say) three Shapes. When I click into a
shape, I want it to change colour.

Which event do I use? It isn't Form1.MousePointer, there is no
Shape1.Click..or anything.

I want the spot (Shape) to change colour when the specific shape is clicked,
to indicate an abnormality within a body organ.

Any help will be appreaciated.

Thank you

David Clifford

Archived from group: microsoft>public>vb>syntax
Back to top
View user's profile Send private message
David



Joined: 04 Oct 2007
Posts: 38

PostPosted: Sat Dec 02, 2006 2:17 pm    Post subject: Re: Mouse position Reply with quote

It's OK, I figured it out using the X and Y coordinates and the
Form1.Mousedown event.

"David" wrote in message@TK2MSFTNGP06.phx.gbl...
> Hello all
>
> This is a relatively simple question, but I can't find an answer.
>
> I have a form, on which there is (say) three Shapes. When I click into a
> shape, I want it to change colour.
>
> Which event do I use? It isn't Form1.MousePointer, there is no
> Shape1.Click..or anything.
>
> I want the spot (Shape) to change colour when the specific shape is
clicked,
> to indicate an abnormality within a body organ.
>
> Any help will be appreaciated.
>
> Thank you
>
> David Clifford
>
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
WebBrowser and mouse position in HTML Hi. How can i get the position of mouse in HTML document (WebBrowser), please? Is it possible in VB6? I need to get a word under mouse pointer and highlight it. Or highlight all table/tr/td under mouse pointer. Thanks a lot for any answer. Mario

Access to the mouse scroller button / wheel mouse in vb 5 Is there any way in which I can access the properties and methods of the mouse scroller button. I presume this would be low level. Which would be the best api's to access these?

String Manipulation - Find Position Hello All, I think this is a fairly simple question, but for some reason I am struggling to find the solution! Assume I get an address into my app which looks as follows: The Purple Widget Company, 4 Privet Drive, Little Whinging, Surrey, SW698JH, 0780 78

Mouse click I am new to VB6 and started learning. I have three Picture box. A timer. What I wanted is when timer is running I want mouse click false or disable. Here is my code which is not working and error. Pls help Thanks in advance. Private Sub Form_Load() Timer1

Grab a word under mouse... Hello folks I have a question how can i get words in screen only by moving mouse on them? thanks
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group