Solved

Cool Bar Image Assignment

Posted on 1998-12-05
7
169 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now