Solved

Cool Bar Image Assignment

Posted on 1998-12-05
7
184 Views
Last Modified: 2013-12-25
I am using the ImageList1 Control to specify images by selection.  I have selected .ico, .gif, and .jpg to see which type would display on the Cool Bar.  

In the Cool Bar properties I have specified the ImageList1 for the images and still no images display.

When I use a bit map instead of an ImageList1 no individual buttons are accesible for index execution....?
0
Comment
Question by:optical
[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
7 Comments
 
LVL 3

Expert Comment

by:Sendoh
ID: 1488719
Hi !
Could you post some portion of the code for further understanding of you scenario ??
Thanks.
0
 

Author Comment

by:optical
ID: 1488720
Simply, using the ImageList control with the CoolBar control either one bitmap from a c program is displayed as one or from multiple images in ImageList no images display.

I need individual images to get selected so they operate as icons....

Code in another computer not easily transportable right now.  will post as necessary.  All the assignment is in the Property boxes of the ImageList and CoolBar.
0
 

Expert Comment

by:cemoses
ID: 1488721
Currently registering and check topic on Blobs and visual basic.
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 

Author Comment

by:optical
ID: 1488722
Still no images, keep this open, I will continue to research this regarding BOTH
TOOLBAR and COOLBAR.  I copied the MDI TOOLBAR, the buttons worked
but the ImageList did not work.
0
 
LVL 15

Expert Comment

by:ameba
ID: 1488723
ImageList - this is the same problem as in other 2 questions, isn't it?
You have VB5 and VB6 on the same machine?
0
 

Author Comment

by:optical
ID: 1488724
Yes, but I found that even the Tool Bar only works in the MDI parent and not any child form.
0
 
LVL 1

Accepted Solution

by:
bear454 earned 50 total points
ID: 1488725
The images in the imagelist all have an index (and if you assign, a key).  The coolbar has a property for each bar that refers to the index (of key) of the desired image.

At design time, on the coolbar property pages, on the General tab, the Imagelist box should be set to the name of the imagelist.  On the Bands tab, the Image box should be set to the index (or key) of the desired image.

The image will not be displayed at design time.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

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