Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working out relative xy coords within a control
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Working out relative xy coords within a control
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01340698
Message ID:
01340698
Views:
46
Hi All,

I have a command button with a little picture imgae (a tick) when action has been taken, otherwise it's displayed without the image.

I know I could re-design the whole control to be in a container, but I was hoping I could detect when the mousedown event (part of the click) was over the little image rather than over the caption part of the button.

I have so far been messing about with objtoclient(), the x and y coords in the mousedown without much success.

Any ideas please?

Regards

mathias
Mathias Banda

Time is longer than a rope.
Next
Reply
Map
View

Click here to load this message in the networking platform