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
Solved

Toolbar Q

Posted on 2000-02-27
2
128 Views
Last Modified: 2010-07-27
Hi,

At design time, set
ToolBar1.ImageList=ImageList1
ToolBar1.HotImageList=ImageList2
and set each button Image property to a index of the ListImage in ImageList1 and ImageList2.

At run time, when the mouse is pisitioned above a button, the picture of the button just not changes to the picture in ImageList2.

Anything I did wrong?
0
Comment
Question by:victorlong
2 Comments
 
LVL 14

Accepted Solution

by:
wsh2 earned 40 total points
ID: 2563915
Depending on which version of the common controls you are using.. the Toolbar.STYLE property has to be set to an integer 1. In version 5, this equates to tbrTransparent.. In version 6, tbrFlat.

Hope this helps.. <smile>.

B.
0
 

Author Comment

by:victorlong
ID: 2566046
Hi wsh2,

Yes you are absolutely right! Thank you.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

861 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