Solved

Pop-up menus

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Performance of SQL statement 37 147
Low-cost full color image t-shirt printing 5 107
Google Analytics setup 5 101
What does PayPal consider to be a mobile device? 2 80
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
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.

734 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