• 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
programmatic interface changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: programmatic interface changes
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Re: Table View drops
  • Next by Date: Re: Trapping insert nil value into dictionary?
  • Previous by thread: Re: Setting Network Preferences Programatically - Part 2
  • Next by thread: Re: programmatic interface changes
  • Index(es):
    • Date
    • Thread