Solved

Toolbar Control

Posted on 2000-05-11
11
276 Views
Last Modified: 2010-05-02
 OK I have a standard toolbar control on a form (VB6 SP3 EE).  I want to set up a button similar to the back button on the IE, a button with a down arrow that you can click to get multiple options in a menu under the button.
  There is a style called MenuButton for a button that will add the arrow, but from here how do I create the menu items for the button and how do I put icons on the drop down menu.
  Thanks
0
Comment
Question by:cavacasp
[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
  • 6
  • 2
  • 2
  • +1
11 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 2801995
go to the toolbar's property page and click custom
click the Buttons tab and choose insert button
Give it a caption and makes its style tbrDropDown
Now the bottom part of the form is no longer greyed
choose insertbutton menu
now you can add as many menu items to that button as you want by continuously clicking insertbutton menu and adding new menu items with captions

i dont know how to get images in there though....sorry
0
 

Author Comment

by:cavacasp
ID: 2802005
Boy I must be stupid.  I didn't even see the bottom half of the screen talking about the Button Menus.  I will give you the points, but I want to leave the question open so that somebody else can get another 100 points for telling me how add pictures to the menu.
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2802014
someone had asked this question before about getting pictures into those menus...we tried a few things but we couldnt get it to work...i'd like to see a solution to that myself.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Expert Comment

by:Ruchi
ID: 2802390
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2802820
unfortunately we're talking about toolbar menus here Ruchi...i dont think that applies
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2803399
i havent had the time to test it out yet but this might be what we're looking for:

http://www.vbaccelerator.com/codelib/comctl/retbar.htm
0
 
LVL 9

Expert Comment

by:Ruchi
ID: 2806045
ArazSound,
  I did not pay attention to the problem posted by Cavacasp as I was in a hurry. Sorry for misreading...
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 100 total points
ID: 2840188
i am submitting an answer to this question now
0
 
LVL 1

Expert Comment

by:csameer1
ID: 2848514
To put images in i use a ImageList Control ,add pictures to it and Link it to the toolbar
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2851630
if it were only that easy to use to add images to the menus of the toolbar, but unfortunately it isnt
0
 
LVL 1

Expert Comment

by:csameer1
ID: 2851862
oo misread it
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

740 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