• 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
NSTextView: Can't it be disabled?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView: Can't it be disabled?


  • Subject: NSTextView: Can't it be disabled?
  • From: Frédéric BLANC <email@hidden>
  • Date: Tue, 31 May 2005 16:35:41 +0200

   Hi All,


I'm aware NSTextView is not inherited from NSControl; but I'm
surprised not to find a method somewhere to *visually* disable this
widget in the API... I've also searched in the archives and through
Google w/o any success. So, should I look again (b/c it IS there)? Or
can someone confirm I won't find anything like this?

If this is the case, is there someone who knows/understands why I
couldn't disable this widget? I've succeeded in disabling any
interaction w/ the text it contains by invoking setSelectable(false)
on my instance; but it still doesn't look that good alongside some
(really) disabled controls (like NSTextField, for example, whose both
content *and* enclosure are "greyed"). IMHO It's just not that
smart...

Note: I'm aware this class is more text-oriented (since inherited from
NSText...) than some text-related controls; however it *does* sport
some visual container and I think it should then be exposed to the
*same* visual alternated representations, shouldn't it? (Do you think
I should post a feature request to Apple's Bug Reporter interface and
ask for the addition of some isEnabled() & setEnabled(boolean)
methods?)

Thanks in advance for any information on this detail,


--
— Frederic BLANC (email@hidden)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSTextView: Can't it be disabled?
      • From: Hiro Fujimoto <email@hidden>
  • Prev by Date: Re: Renaming issues
  • Next by Date: RE: Making custom looks for controls
  • Previous by thread: Re: Replacing the default-hyphenator in the cocoa-textsystem
  • Next by thread: Re: NSTextView: Can't it be disabled?
  • Index(es):
    • Date
    • Thread