Solved

Pop-up menus

Posted on 1998-12-02
4
175 Views
Last Modified: 2013-11-28
Hi...quick question: How do I make a pop-up menu with one of the menu items bringing up another pop-up menu when it's clicked on. Those items always have a little right-pointing arrow indicating they have more items...you know what I mean?

Cheers
   Shawn Halfpenny
0
Comment
Question by:aztec
[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
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 50 total points
ID: 1349053
AzTec,
stick a popup menu component from standard bar
right click component and select menu designer
now click on 'caption' in object inspector and type something.
next back on menu designer right click either item you just gave a caption to or the one below and select 'create submenu' and give that a caption thats it repeat until happy with your popup menu

Barry
0
 

Author Comment

by:aztec
ID: 1349054
Excellent! Works great! In a related question Barry, how do get a little icon to show next to each item in a popup menu? I've seen programs that have it...maybe Delphi 3 cannot do it??

Cheers
  Shawn
0
 
LVL 4

Expert Comment

by:BoRiS
ID: 1349055
aztec

Popupmenus in delphi 3 can do it you need to use the API call

SetMenuItemBitmaps(
Menu,      // handle of menu
Position,      // menu item to receive new bitmaps
Flags,      // menu item flags
BitmapUnchecked,      // handle of unchecked bitmap
BitmapChecked      // handle of checked bitmap
);

Later
BoRiS
0
 

Author Comment

by:aztec
ID: 1349056
Thanks Boris...ummm, could you give me a little example of how this SetMenuItemBitmaps works?

Thanks
  Shawn
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

Title # Comments Views Activity
tidtcpserver connection lost handle 2 109
Delphi inherited method 6 78
Accurate Analytics (Not Google) 2 73
Delphi, TImage, Png 2 19
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

763 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