Re: Dynamically alterting objects in a view
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