Robert Meek wrote: > I'm trying something new in my interfaces. I have a kind of control > bar with individual buttons having both text and a glyph on each one > and set up to form a vertical toolbar. Each button when clicked > opens up a dropdown list which is basically a popup menu control. > The user can then add items by name to each dropdown list which the > application automatically assigns a common event to. The common > event reads the menu item's name to distinguish how and what it > accomplishes. This much is quite easy and I've done it before > storing the item list as a dat file and loading it into a TStringList > which the application reads at startup to re-build the dropdown list > as it last was. But now I want to allow the user to add submenu > items to any dropdown item, and in turn add third level submenu items > to any of them, and then forth level submenu items to any of them, > and so on building a kind of tree view arrangement a lot like > window's own Programs menu.
If I had to do this, I might start by looking at how such menus were stored in the DFM file (I'm using Delphi 5). David _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

