Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Irregular shaped objects
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00151157
Message ID:
00151350
Vues:
16
how are your going to create these odd shaped objects. ?

You would have to use the the form line method to draw these objects pixel by pixel. Once you have drawn the objects on the form, in the mouse down event of the form use the point method to find out what the colour(RGB) of the pixel that is clicked on. EG. if thisform.point(nXCoord, nYCoord) = 0 then the point clicked on will be black etc. so using the pixel colour you could find out on which shape he clicked on. IE. assuming each shape is a different colour. Then you could change colour or do what or do what ever you want.

hope I was helpful.all the best.
regards,
Fred
Fred Besterwitch, MCP

The harder you work. The luckier you get.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform