• 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: Thomas Davie <email@hidden>
  • Date: Wed, 4 Oct 2006 19:14:23 +0100

You'll need to ask it to draw in the next render using [myTable setNeedsDisplay:YES];.

Bob

On 4 Oct 2006, at 19:15, Aychamo Aychamo wrote:

Hello,

I have an NSTableView in a window, and I'm trying to change it's
location and it's width & height (the same way you would in Interface
Builder, where you pick the x,y coordinates, and the height and
width.)  I'm have extraordinary difficulty in doing so.

I've read the View Programming Guide, and I've tried a number of
things, including setting the Table's frame and bounds.  I have the
table's outlet set to myTable, and I try:

[myTable setFrame: NSMakeRect (0,0,500,500)];
or
[myTable setBounds: etc..];

And it won't actually change the x loc/y loc/width/height of the
NSTableView on the window.

Does anyone have any advice?

Thank you
AA
_______________________________________________
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

_______________________________________________ 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
  • Follow-Ups:
    • Re: Re: Dynamically alterting objects in a view
      • From: "Aychamo Aychamo" <email@hidden>
References: 
 >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: accessibility and iTunes?!?
  • Previous by thread: Dynamically alterting objects in a view
  • Next by thread: Re: Re: Dynamically alterting objects in a view
  • Index(es):
    • Date
    • Thread