Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working out relative xy coords within a control
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Working out relative xy coords within a control
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01340698
Message ID:
01340698
Vues:
47
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform