Information générale
Catégorie:
Gestionnaire d'écran & Écrans
you can create a single object of the map
in the click event check the x,y co-ordinates of the mouse and compare that
for a table where you will have co-ordinates for
triangles/squares etc that make up each state
another option is maybe to embed a web-browser in the app and use HTML with
images for each state etc, then you can use JScript or VBScript to catch
each click
if you really need state shaped buttons this can be done as well, I remember
I saw on the I-Net some 3rd party product that will let you design buttons
in whatever shape you want
Arnon
i
>The user wants a map of the USA on a form. She would like to click on
>states and get data for those states. It amounts to making buttons that
>are state-shaped. I only know how to make rectangular buttons, which is
>fine for Colorado and Wyoming, but not many others. Can it be done?
>
>
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement