Millions of cascading menus?
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.