Solved

Creating a menu under a menu.

Posted on 1998-09-24
6
210 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month6 days, 19 hours left to enroll

623 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