• 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
Millions of cascading menus?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Millions of cascading menus?


  • Subject: Millions of cascading menus?
  • From: Jerry LeVan <email@hidden>
  • Date: Mon, 7 Jun 2004 21:11:38 -0400

Hi,

I have an db app that has a "scripts" menu, the menu
lists all of the *.sql files in a particular directory.

Picking an item causes the sql file to be loaded into
the editor. I currently only look at the files in the
top level of the directory. The menu is getting a bit
lengthy and I would like to create submenus for each
directory in the main script directory and add all of the
*.sql files in the subdirectory and I would like to repeat
this activity until the directory hierarchy is exhausted.

Selecting a sub menu item should of course load the sql file.
Since I only want the name of the actual file in the menu, it
appears that I will have to crawl up the menu structure to
recover the path name of the file.

It sorta looks like a non trivial task, I am going to start
tomorrow but I was hoping that there might be some sample
code laying about....

An alternate approach I am thinking about is to use an outline
view in a drawer.

Any advice will be gladly appreciated.

Jerry
_______________________________________________
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: Millions of cascading menus?
      • From: Creed Erickson <email@hidden>
    • Re: Millions of cascading menus?
      • From: David Reed <email@hidden>
  • Prev by Date: Re: Is that really a bug at all? (was: Re: Ugly bug in Foundation, beware!)
  • Next by Date: Re: Java or C++ for cross-platform Cocoa/.NET?
  • Previous by thread: Setting Focus Programmatically
  • Next by thread: Re: Millions of cascading menus?
  • Index(es):
    • Date
    • Thread