• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mouse and buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse and buttons


  • Subject: Re: Mouse and buttons
  • From: j o a r <email@hidden>
  • Date: Thu, 20 Mar 2003 12:26:18 +0100

You should set these images in Interface Builder, and only switch the button states from code.
If you have a on / off / toggle button, it will display image / alt image matching it's state.

j o a r

On Thursday, Mar 20, 2003, at 11:47 Europe/Stockholm, Peter Karlsson wrote:

What happens is that when I click the play button the play button picture changes from up to down. And the stop button picture changes from down to up. So far so good...

The problem is that the stop button changes it's picture when the mousebutton is released. I want to change the stopbutton picture when the mousebutton is pressed, just like the playbutton picture does. What can I do about it?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Mouse and buttons (From: "Peter Karlsson" <email@hidden>)

  • Prev by Date: MouseDown of superclass
  • Next by Date: Re: [Newbie] How to load and display a sheet from a NIB file ?
  • Previous by thread: Mouse and buttons
  • Next by thread: DocumentController and Folders
  • Index(es):
    • Date
    • Thread