• 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: NSButton Behaviors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton Behaviors


  • Subject: Re: NSButton Behaviors
  • From: "Frank D. Engel, Jr." <email@hidden>
  • Date: Mon, 1 Oct 2007 19:10:41 -0400

Sorry my reply was so long delayed.

This is completely different from what I need.

I need to invoke an action in the background *during* the time that the user has the mouse down on the button, and stop performing the action when the button is released.

If I am reading this correctly, the code you sent would not allow for that?


On Sep 28, 2007, at 10:10 PM, Erik Buck wrote:

I put the buttons in a matrix in "Track" mode and used the following code in the action method that was sent by pressing any of the selection tool buttons: (The code ensures exclusive selection and works if the matrix itself sends the action or if the contained buttons send the action)

----------------------------------------------------------- Frank D. Engel, Jr. <email@hidden>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
$


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Where are the boundaries of Cocoa and how are the boundaries perceived ?
  • Next by Date: Converting NSArray of NSString elements into binary?
  • Previous by thread: Re: How can we draw a NSWindow in a custom NSView?
  • Next by thread: Re: NSButton Behaviors
  • Index(es):
    • Date
    • Thread