Solved

Cool Bar Image Assignment

Posted on 1998-12-05
7
179 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
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
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.

 

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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

839 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