Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Irregular shaped objects
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00151157
Message ID:
00151350
Views:
17
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform