Solved

Pop-up menus

Posted on 1998-12-02
4
179 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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
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.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
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.
Suggested Courses
Course of the Month6 days, 7 hours left to enroll

636 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