• 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: Dynamically alterting objects in a view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamically alterting objects in a view


  • Subject: Re: Dynamically alterting objects in a view
  • From: Mike Abdullah <email@hidden>
  • Date: Wed, 4 Oct 2006 22:00:04 +0100

Nearly.  You actually want the setDocumentView: method in this case.

With regards to the original problem, are sure you're not simply moving the table view around inside the scroll view? It's the scroll view that you need to call setFrame: on really I believe.

Mike.

On 4 Oct 2006, at 20:08, Aychamo Aychamo wrote:

Out of curiosity, if instantiated the NSTableView myself, instead of
through the nib, would it be something like this?:

NSScrollView *myScrollView = [[NSScrollView alloc] init];
NSTableView *myTableView = [[NSTableView alloc] init];

[myTableView .... set all the options];
[myScrollView addSubview: myTableView];

or something like that?

Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to 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
References: 
 >Dynamically alterting objects in a view (From: "Aychamo Aychamo" <email@hidden>)
 >Re: Re: Re: Dynamically alterting objects in a view (From: "Aychamo Aychamo" <email@hidden>)

  • Prev by Date: Re: Stopping double clicking of a file
  • Next by Date: Re: Stopping double clicking of a file
  • Previous by thread: Re: Re: Re: Dynamically alterting objects in a view
  • Next by thread: Newbie: Numeric only NSTextField checked during typing
  • Index(es):
    • Date
    • Thread