• 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: Drawing UI Control items at run time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing UI Control items at run time


  • Subject: Re: Drawing UI Control items at run time
  • From: Laurent Daudelin <email@hidden>
  • Date: Fri, 16 Jan 2004 02:37:11 -0500

on 16/01/04 01:29, Amit Sadana at email@hidden wrote:

> I have some dialog boxes, in which I have to draw controls like tables,
> checkboxes, text fields and tabs at run time. The information about
> these, what control I have to draw and how many of them I have to draw,
> is available at run time only. I can only specify the dialog window at
> design time through the nib but not the controls it shall contain.
>
> How can I go about achieving this - drawing of any UI control at run
> time with proper Aqua guidelines and behavior?
>

Yep, that's pretty much it. Read the doc carefully for each widget you want
to create to make sure you do it properly. Some have specific initializers
that you need to use if you want them to work properly. But it's definitely
doable.

-Laurent.
--
============================================================================
Laurent Daudelin AIM/iChat: LaurentDaudelin <http://nemesys.dyndns.org>
Logiciels Nemesys Software mailto:email@hidden

Gates's Law: "The speed of software halves every 18 months." This oft-cited
law is an ironic comment on the tendency of software bloat to outpace the
every-18-month doubling in hardware capacity per dollar predicted by Moore's
Law. The reference is to Bill Gates; Microsoft is widely considered among
the worst if not the worst of the perpetrators of bloat.
_______________________________________________
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.

  • Prev by Date: Re: Cocoa daemon with Panel
  • Next by Date: Re: Cocoa App daemon with NSPanel
  • Previous by thread: Drawing UI Control items at run time
  • Next by thread: Setting the replace string in the Panther standard Find panel
  • Index(es):
    • Date
    • Thread