+ Reply to Thread
Results 1 to 3 of 3

Image Invisible. Click

  1. #1
    Registered User
    Join Date
    05-14-2008
    Posts
    27

    Image Invisible. Click

    Hello,

    I have cells which one with an image inside that can be hidden or not.
    I created a function that makes an image visible or invisible.

    The problem is that I want to call the function "Click" when an image is clicked ... even when it is invisible. How can I do this?

    Basically when an image is hidden and is clicked I want my function "Click" to call "FunA", if the clicked image was visible then call "FunB".

    How can I do this?

    Thanks,
    Miguel

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello shapper,

    You can assign any macro you want to your Image. The default event is the Click event. Objects only respond to events when they are visible. Setting the Image visible property to false disables the object from responding to external input. You can't "Click" an invisible object.

    Sincerely,
    Leith Ross

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,419
    When you make the image invisible can you not replace it with a control that appears transparent so that it can receive the Click event?
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1