Thread: Clickable Grid

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    14
    Rep Power
    0

    Clickable Grid


    Hi all.

    Here is my question. I want to make a clickable grid with an image behind it. The clicking will take place on different parts of the image. Actually, I may not need the grid at all. An Image in which a user could click, different areas, like an Area Map in HTML, is ideally what I'm looking to do.

    Thanks,
    Jay
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,607
    Rep Power
    4247
    The standard TImage component that comes with Delphi/C++ Builder has an OnMouseDown event. The OnMouseDown event handler gets the coordinates on the image where the mouse was clicked.
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo

IMN logo majestic logo threadwatch logo seochat tools logo