• 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: [Q] Disabling an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] Disabling an NSTableView


  • Subject: Re: [Q] Disabling an NSTableView
  • From: Sam Griffith <email@hidden>
  • Date: Tue, 12 Nov 2002 02:58:56 -0600

In this link:

http://gigue.peabody.jhu.edu/~pnelson/NewbieFAQ.html

#29 talks about it. It creates a subclass..


--
Sam Griffith Jr.
email: email@hidden
Web site: http://homepage.mac.com/staypufd/index.html



On 11/12/2002 1:22 AM, "Alex Rice" <email@hidden> wrote:

> On Monday, July 15, 2002, at 01:27 PM, Mark de Jong wrote:
>
>> When I send "setEnabled:NO" to my table, the table's visual appearance
>> does not change and I can still select and edit all the items in the
>> table. I would expect its appearance and behavior to change, similar
>> to other controls.
>
> Hi, I have the same issue. What is the workaround? Dan Wood's
> suggestion to call setEditable: on the NSCells in the table doesn't
> help my in situation because my NSTableView is not editable, I need to
> disable selection in the NSTableView. (It's an "inspector" panel and
> all the controls get disabled if the user hasn't selected an item in
> the main window.)
>
> [iconsTable deselectAll: nil];
> [iconsTable setEnabled: NO];
>
> Doesn't disable selections. I am stumped on this one. Any ideas?
>
> Alex Rice <email@hidden>
> Mindlube Software
> http://mindlube.com/
> _______________________________________________
> 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.
_______________________________________________
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: 
 >Re: [Q] Disabling an NSTableView (From: Alex Rice <email@hidden>)

  • Prev by Date: Re: Getting information from AddressBook
  • Next by Date: PackageMaker sucks?
  • Previous by thread: Re: [Q] Disabling an NSTableView
  • Next by thread: PackageMaker sucks?
  • Index(es):
    • Date
    • Thread