Solved

Creating a menu under a menu.

Posted on 1998-09-24
6
202 Views
Last Modified: 2012-05-04
Is it possible to create a menu under a menu item.  Just like netscape Communicator has File - New (with an arrow) and underneath new, there are 5 menu items.

If this is possible to do in Delphi 3 and 4, please let me know how.
Thanks
0
Comment
Question by:psabourin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 5

Expert Comment

by:inter
ID: 1340791
Hi,
I think you want to create menues at runtime- Other wise just put a TMainMenu component on form and dbl click on it and write it on design time- So open your delphi help search for TMenuItem and see example 2
regards, igor
0
 
LVL 1

Expert Comment

by:borup
ID: 1340792
In the Menu Designer you just rightclick to create a Submenu.

Borup
0
 
LVL 1

Accepted Solution

by:
duke_n earned 50 total points
ID: 1340793
If you mean at designtime and you have delphi 3(I don't know anything else):
1.put a menu on form and enter the menu editor(dblclick).
2.select an item which you want to have a cascadind menu.
3.press [CTRL]+[->].
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:borup
ID: 1340794
Errh. Isn't that just a shortcut? You're telling him to do exactly as I told in my comment. The only difference is to use a shortcut instead of rightclicking and then selecting Submenu.
0
 
LVL 1

Expert Comment

by:duke_n
ID: 1340795
Whops..
sorry borup, I didn't notice that...
0
 
LVL 1

Expert Comment

by:duke_n
ID: 1340796
Here is somethin' for runtime
var
mi:Tmenuitem;
begin
mi:=Tmenuitem.create(mainmenu1);
Menuitem1.add(mi);
end;

Regards,
   Nukem
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question