Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Dent
23
Years of Service
User Offline
Joined: 18th Jul 2003
Location:
Posted: 20th Jul 2003 02:33
I was just wondering if it is possible to use image maps with DBpro?
What I am trying to make is odd shapes that when you click within them, it knows which shape you clicked in (Two countries besides eachother). So I can't really use simple shape logic to find out if they clicked within a country. If image maps can not be used within DBpro, could someone set me in the right direction to get something like this done?
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th Jul 2003 02:46 Edited at: 20th Jul 2003 02:46
What you want is possible - just have a second image which has each country coloured differently loaded into bitmap 1. When you want to find out which country has been clicked on, use SET CURRENT BITMAP to switch to bitmap 1, grab the colour using the POINT function, then switch back to bitmap 0.

Variation of this would include storing the details in an array instead of a bitmap.

Login to post a reply

Server time is: 2026-07-21 12:49:41
Your offset time is: 2026-07-21 12:49:41