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