Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to draw lines on an image or picture? 1

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
Say I have a .jpg of a buildings floor plan like a blueprint. and I wanted to show a user where room A was using a blinking square or something. I would want it to be able to show any room on the map so to speak.
Can this be done in Access 2003?
I did it using VB6 one time, using Line I think. I had to click where each location was on the map the first time and grabbed the X-Y coords and stored them along with "Room A" and so forth.
Table of coords
X Y RoomName
3.45 4.56 RoomA
6.67 2.45 RoomB
8.45 5.45 RoomC
...
Then when a user drilled down to a room and clicked it, it shows a blinking square on the room.

Any ideas welcome.

DougP
 
You could use hidden items on your form and make them 'visible' when required.

me.itemname.visible = true

Ian Mayor (UK)
Program Error
Always make your words sweet and nice. Because you never know when you may have to eat them.
 
so I can make a label with no caption and in the shape of a square. Make it visible and move it to the desired location using its X-Y coords?
That will work thank you.

Have A Star!!!

DougP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top