• 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: Disabling a button in a matrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling a button in a matrix


  • Subject: Re: Disabling a button in a matrix
  • From: Jyrki Wahlstedt <email@hidden>
  • Date: Mon, 15 Sep 2003 12:27:44 +0300

Hi,
basically you do something like:
[[modifierMatrix cellAtRow:i column:j] setState:YES | NO];

i.e. you select the row and the column then use the setState: to disable the button.

On maanantai, syys 15, 2003, at 07:41 Europe/Helsinki, Tito Ciuro wrote:

Hello,

Given a matrix containing NSButtons, is it possible to disable one of them? Or should I separate them into individual buttons and control them manually?

Thanks,

-- Tito
_______________________________________________
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.


!
! Jyrki Wahlstedt
! H 255 mob. +358-40-502 0164
!
_______________________________________________
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: 
 >Disabling a button in a matrix (From: Tito Ciuro <email@hidden>)

  • Prev by Date: Re: Some seemingly odd NSBezierPath behavior.
  • Next by Date: Disabling a button in a matrix
  • Previous by thread: Re: Disabling a button in a matrix
  • Next by thread: Disabling a button in a matrix
  • Index(es):
    • Date
    • Thread