Solved

Toolbar Control

Posted on 2000-05-11
11
283 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month5 days, 7 hours left to enroll

627 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