Solved

ToolBar buttons

Posted on 1998-05-28
2
151 Views
Last Modified: 2010-05-03
I have a tool bar on MDI frame. I added the buttons onto the tool bar. I want to have the letters as caption on that buttons. I am able to add the pictures into them but when I simply write any text in the buttons "Caption" Property they are not visible. Can anybody let me know how I can make the Caption of a button on the tool bar. I don't want to insert a BMP into it.
0
Comment
Question by:monalisa
[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 Comments
 
LVL 1

Accepted Solution

by:
terencebeh earned 10 total points
ID: 1461925
Try add only a new toolbar. And go to the property page by right-clicking the toolbar and select properties. There will be three tabs. Select button. Insert your button and specify the cpation. I hope this is what you want. I am not sure whether you can have both picture and caption in the same button. Anyway, you can try both.

0
 

Author Comment

by:monalisa
ID: 1461926
I tried like that only, the only problem is If I have only Name in one button and if all the rest are having BMP's then I couldn't see the title, I guess the reason is title is lying at the bottom and so it is not visible. For a try if I add a caption to one of the button which is having image on it then as the size of the tool bar is increasing I could see the caption on the button. Here the problem is the buttons are getting too widened in height and the look is not good. How can I change the height of the tool bar. When I change it in the properties and apply them it is not taking the values.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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.
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…
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…
Suggested Courses
Course of the Month11 days, left to enroll

631 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