Solved

Toolbar Control

Posted on 2000-05-11
11
280 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
Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
Passing a Text Box name to a Sub 6 104
Advice in Xamarin 21 120
VBA: loop recent folder and copy txt file. 8 56
Assign a value in Excel V-Basic 3 38
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

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