• 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: Resize NSTableView controle at Runtime.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Resize NSTableView controle at Runtime. (From: "Amit Kumar(R&D)" <email@hidden>)

  • Prev by Date: Resize NSTableView controle at Runtime.
  • Next by Date: mouseDown & mouseDragged - Cannot select multiple cells
  • Previous by thread: Resize NSTableView controle at Runtime.
  • Next by thread: Re: Resize NSTableView controle at Runtime.
  • Index(es):
    • Date
    • Thread