Solved

Pop-up menus

Posted on 1998-12-02
4
170 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
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 50 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks Boris...ummm, could you give me a little example of how this SetMenuItemBitmaps works?

Thanks
  Shawn
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

With a software solution, you always get to control email signatures and have the final say on the design - not an unrelated department or the uninterested end user.
This story has been written with permission from the scammed victim, a valued client of mine – identity protected by request.
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now