Versions des environnements
>This post definitely caught my eye... I've worked on a number of CAD and Construction Blueprint manipulation projects in Visual FoxPro and this is one of the things that really created some havoc the first time I ran into it (that and creating and shading irregular shapes - though Visual FoxPro 9 fixed that with the advent of the polypoints property). Anyways, the solution I came up with was not as hard as it first looked to figure out whether the mouse is over the line. Here's a working example... just cut-n-paste into a prg file and run it. Then pass your mouse over the lines and as the mouse is directly over the line it will change the line's color so you know that it's being detected. The important code is in the lineex class's mousemove event, just place that type of code in your line's mousedown event to decide whether the click is to be considered an "actual" click or not.
>
Hi Craig,
Have you a ready solution for :
- on polypoints line mouse event
- within polypoints zone mouse event
- with support for Bezier curve
If yes, can you post,
I can write it, but it is useless to continually invent the warm water.
Fabio
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement