programmatic interface changes
programmatic interface changes
- Subject: programmatic interface changes
- From: Ivan Kourtev <email@hidden>
- Date: Fri, 17 Oct 2003 02:04:59 -0400
Hello,
How can one insert a new interface element programmatically? I am
building an application with a simple window. When the user selects a
certain action, a large file must be read in. At this point, I would
like to:
(a) resize the window a little larger (already know how to do that with
setFrame:display:animate),
(b) draw a progress bar in the empty space
(c) read the file indicating progress using the progress bar
(d) resize window back to normal (get rid of progress bar)
I am not sure how to start about (b). I assume I have to somehow
'construct' a new NSProgresIndicator interface element and 'tell' the
window so show it at the certain location. Is this correct or not? In
general, how does one go about dynamically changing interfaces as
described (adding, deleting, etc. interface objects)?
Thanks,
-- ivan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.