Answered by:
Place a mark on an image - TITLE CHANGE

Question
-
I need to know how to present the user with an image and when they click or touch a location on the image, I can store specific information based on the location they touched. Image is of human body (posterior, anterior, left side, and right side). Idea is that user clicks on say the palm of the right hand in the anterior image and the wound location is recorded as the palm of the right hand - I don't yet know how many viable positions there will be, but I need to know if and how it can be done.
For the benefit of others, please mark posts as answered or helpful when they answer or assist you in finding the answer. ___ "We came all this way to explore the Moon, and the most important thing is that we discovered the Earth." - Bill Anders, Apollo 8.
- Edited by -suzyQ Sunday, October 11, 2015 7:16 PM
Sunday, October 11, 2015 5:41 PM
Answers
-
My only question now is what is the code to open the editor on click rather than have the user right click, select "bit map image object," then click "edit," then put the dot in from the editor, then close the editor... I'd rather either initiate the editor upon click.
Hi. Double-clicking on the object should automatically open the image editor. But if you want to use code in the Click event, you could try this:
DoCmd.RunCommand acCmdOLEObjectDefaultVerb
Hope that helps...
- Proposed as answer by Edward8520Microsoft contingent staff Monday, October 19, 2015 8:38 AM
- Marked as answer by -suzyQ Thursday, October 22, 2015 3:27 AM
Monday, October 12, 2015 3:28 PM
All replies
-
Hi. You might start playing with the MouseDown or MouseUp events and examine the arguments that come with those events; namely, the screen positions where the user clicked the mouse. Hope that helps...Sunday, October 11, 2015 6:02 PM
-
The user clarified their needs a little better and now this is what is needed for this project...
What the user wants is to be able to MARK with a dot the location of a wound, on an image of a body. So I have the image as an ole object that gets placed into the record when they create a new record and what I now need is to be able to open an image editor when the user clicks on the image - that way they can place a dot where the wound is located. OR... if there is a way to place the dot on the image without going to the image editor that would be even better. I know they can right click on the ole object field and select edit, but I don't want them to have to do all that - just a click on the image should open the image editor where they can edit the image and return to the form after saving.For the benefit of others, please mark posts as answered or helpful when they answer or assist you in finding the answer. ___ "We came all this way to explore the Moon, and the most important thing is that we discovered the Earth." - Bill Anders, Apollo 8.
Sunday, October 11, 2015 7:17 PM -
You can place an image on your form and then create transparent buttons at the desired locations over top of the image. You can change the cursor display for when you hover over a button by setting it's "Cursor On Hover" property to "Hyperlink hand." Then when the user clicks the button, you execute an On Click event to do whatever processing is desired.
- Edited by RunningManHD Sunday, October 11, 2015 11:33 PM
Sunday, October 11, 2015 11:32 PM -
That may have worked for my original question... but the rules of the game changed. My original question was invalid. What I really need is to allow the user to edit the image. They need to put a dot(s) on the image where there is a / are wound(s). The image will start the same for every record - the user will then edit the image for a specific record to put in the dots. The image is then saved for that record.
For the benefit of others, please mark posts as answered or helpful when they answer or assist you in finding the answer. ___ "We came all this way to explore the Moon, and the most important thing is that we discovered the Earth." - Bill Anders, Apollo 8.
Monday, October 12, 2015 3:13 AM -
My only question now is what is the code to open the editor on click rather than have the user right click, select "bit map image object," then click "edit," then put the dot in from the editor, then close the editor... I'd rather either initiate the editor upon click.
For the benefit of others, please mark posts as answered or helpful when they answer or assist you in finding the answer. ___ "We came all this way to explore the Moon, and the most important thing is that we discovered the Earth." - Bill Anders, Apollo 8.
Monday, October 12, 2015 3:24 AM -
My only question now is what is the code to open the editor on click rather than have the user right click, select "bit map image object," then click "edit," then put the dot in from the editor, then close the editor... I'd rather either initiate the editor upon click.
Hi. Double-clicking on the object should automatically open the image editor. But if you want to use code in the Click event, you could try this:
DoCmd.RunCommand acCmdOLEObjectDefaultVerb
Hope that helps...
- Proposed as answer by Edward8520Microsoft contingent staff Monday, October 19, 2015 8:38 AM
- Marked as answer by -suzyQ Thursday, October 22, 2015 3:27 AM
Monday, October 12, 2015 3:28 PM