• 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: cocoa-dev digest, Vol 2 #933 - 14 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa-dev digest, Vol 2 #933 - 14 msgs


  • Subject: Re: cocoa-dev digest, Vol 2 #933 - 14 msgs
  • From: Paul Fox <email@hidden>
  • Date: Fri, 12 Jul 2002 21:16:20 +0100

> The method you're looking for is -[NSCell setScrollable:]. Just
> call it on the NSTextField's cell and you should be set.
>
> --
> Brian Webster
> email@hidden
> http://homepage.mac.com/bwebster

I'm a little confused...maybe someone can help.

I am creating an NSTextField in order to create a normal
editable field. Is this correct?

The method stated is for NSCell and NSTextField is not derived
from NSCell - although NSTextFieldCell does obviously derive from this.

I'm not sure what I am doing wrong -- using NSTextField in the first place?
But if I try to use NSTextFieldCell then it has the 'wrong' methods
I need. (If I should be using NSTextFieldCell then hopefully
I can map my method calls).

I've read about NSWindow having a single editing window which is remapped
as needed to the appropriate responder cell. Is this implying I
should be capturing this remap and doing setScrollable: on that thing
as it bumps around?

...

Just browsing NSControl - which has a cell: method. Is this the baby
I need -- grab the cell: from the superclass, then set the attribute
there?

If so, can anyone explain this object hierarchy to me? Why have
a 'shadow' object in the superclass? Seems a little bit bizarre to me,
but maybe its for some form of efficiency (multiple inheritance - kinda)?

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

  • Follow-Ups:
    • Re: cocoa-dev digest, Vol 2 #933 - 14 msgs
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: How to track down "free'd" objects
  • Next by Date: Lex and yacc
  • Previous by thread: Re: How to track down "free'd" objects
  • Next by thread: Re: cocoa-dev digest, Vol 2 #933 - 14 msgs
  • Index(es):
    • Date
    • Thread