Re: Resize NSTableView controle at Runtime.
Re: Resize NSTableView controle at Runtime.
- Subject: Re: Resize NSTableView controle at Runtime.
- From: j o a r <email@hidden>
- Date: Wed, 1 Dec 2004 14:46:18 +0100
On 2004-12-01, at 13.31, Amit Kumar(R&D) wrote:
Please let me know how I increase and decrease the size of the table
controle at runtime?
NSTableView is a subclass of NSView, so you would do something like
this:
[myTableView setFrameSize: NSMakeSize(150.0, 150.0)];
Keeping in mind that a table view is almost always contained in a
scroll view, it becomes:
[[myTableView enclosingScrollView] setFrameSize: NSMakeSize(150.0,
150.0)];
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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