Re: Delphi: Application Menu

[ Delphi Forum -- by DelphiLand ]

Posted by Lionel on December 17, 2003

In Reply to: Re: Application Menu posted by webmaster Guido on December 16, 2003:

: : I have several applications that I have created using Delphi 7 and would like to create a Menu to call up each compiled application as needed. I have tried using the Delphi Menu Component but it is not what I am looking for. I am looking for a way to create a menu that will call up a set of compiled Delphi applications as needed. I have tried multiple forms and the Delphi Menu Component to call them up but this gets a little messy. Any suggestions?
: --------

: Are you looking for a kind of "dynamic" menu, that adapts itself to include all the applications that are in a certain folder (or in its subdirectories)? For example:
: c:\DelphiApps\
: \Applic1\applic1.exe
: \Test3\test3.exe
: \Demo12\demo12.exe

: Or maybe you want a datafile somewhere, with all the paths of the programs, and these have to appear in a menu? Or anything else?

: Can you give some more details, such as: why is a Delphi menu component not suitable?

As to the question regarding the Delphi menu component: I tried it and did not like it located at the top of my form. My first form had nothing on it but a menu at the top of the form and I would then go to other forms to run my applications.

What I would like a full form menu as an opening page and select the applications as needed. For example:
(1) Compute Traverse
(2) Compute Curve Data
(3) Triangle Solutions
(4) Compute Coordinates
(5) Exit

If you selected Number 1 it would call up "traverseProject1.exe"

If you selected Number 2 it would call "curve2Project2.exe

This is only two applications of six but I think you can see what I would like to do. Also, there may be another component that would allow this format but I am not aware of one so any suggestions will be appreciated.

PS: I use a menu "case routine" in Turbo Pascal back in the old days and that worked ok but those days are gone. ( - ;

Related Articles and Replies:

[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]