Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What I decided to do is to use Gimp (a Linux based image editor similar to photoshop) to create the "hot spot" shapes that I will place on top of the main image in the base form via layering ("bring to front" ""send to back", etc). I plan to save each of the hot spot shapes as a separate file so that I can import the images into the Base form and assign a macro to each hot spot image so that when it is clicked it will insert the text specific to that hot spot into the selected text box. The hot spots will not be highlighted when selected as they are in a real html based image map, but the basic functionality of an image map will be there.

I'll let you know how it goes.

docbda

What I decided to do is to use Gimp (a Linux based image editor similar to photoshop) to create the "hot spot" shapes that I will place on top of the main image in the base form via layering ("bring to front" ""send to back", etc). I plan to save each of the hot spot shapes as a separate file so that I can import the images into the Base form and assign a macro to each hot spot image so that when it is clicked it will insert the text specific to that hot spot into the selected text box. The hot spots will not be highlighted when selected as they are in a real html based image map, but the basic functionality of an image map will be there.

I'll let you know how it goes.

Above was my original plan. What I acutally ended up doing follows:

I used invisible image button form controls to act as the hotspots. I placed these on top of the background image. This eliminated the need to have a separate imported image for each hotspot (my original plan). Also, if you try to use imported images as hotspots, when you click on them for activation you end up selecting the image as well. This was undesireable for what I was doing. This issue is avoided by utilizing the image buttons. The image buttons were made invisible by not selecting an image (leaving it blank) in the properties of the image button form control under the "general" tab. I also added help text (also under the "general" tab) to the image buttons which functioned to let the user know that there was a hotspot to be clicked when they saw the help text appear as they moused over the invisible image button. The effect was exactly what I was looking for. I assigned a macro that was activated with a mouse click on the image to insert text into the target text box. The macro was added by utilizing the "events" tab for the image button form control properties. See my posted question regarding inserting macro text in a text box for more info on how to do that. Good luck :)

docbda

What I decided to do is to use Gimp (a Linux based image editor similar to photoshop) to create the "hot spot" shapes that I will place on top of the main image in the base form via layering ("bring to front" ""send to back", etc). I plan to save each of the hot spot shapes as a separate file so that I can import the images into the Base form and assign a macro to each hot spot image so that when it is clicked it will insert the text specific to that hot spot into the selected text box. The hot spots will not be highlighted when selected as they are in a real html based image map, but the basic functionality of an image map will be there.

I'll let you know how it goes.

Above was my original plan. What I acutally ended up doing follows:

I used invisible image button form controls to act as the hotspots. I placed these on top of the background image. This eliminated the need to have a separate imported image for each hotspot (my original plan). Also, if you try to use imported images as hotspots, when you click on them for activation you end up selecting the image as well. This was undesireable for what I was doing. This issue is avoided by utilizing the image buttons. The image buttons were made invisible by not selecting an image (leaving it blank) in the properties of the image button form control under the "general" tab. I also added help text (also under the "general" tab) to the image buttons which functioned to let the user know that there was a hotspot to be clicked when they saw the help text appear as they moused over the invisible image button. The effect was exactly what I was looking for. I assigned a macro that was activated with a mouse click on the image to insert text into the target text box. The macro was added by utilizing the "events" tab for the image button form control properties. See my posted question regarding inserting macro text in a text box for more info on how to do that. Good luck :)

I don't currently have enough Karma points to mark this answer as correct, but I assure you that it works!

docbda