Highlighting only image over button when it is clicked

Discussion in 'Mac Programming' started by Monaj, Aug 31, 2010.

  1. Monaj
    Expand Collapse
    macrumors regular

    Joined:
    May 24, 2009
    #1
    Hi all,

    Right now when I set an image over a button and make it border-less and try to click it, it always shows a rectangular portion highlighted along with the image, which is the actual dimension of button clicked.

    My requirement is: I want to highlight only the image over it, not the whole rectangular portion.

    Can anyone suggest me some logic to implement it?

    Thanks,

    Monaj
     
  2. kainjow
    Expand Collapse
    Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    In IB change the Type of the button to Momentary Change.
     
  3. Monaj
    Expand Collapse
    thread starter macrumors regular

    Joined:
    May 24, 2009

Share This Page