Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8227933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T16:18:00+00:00 2026-06-07T16:18:00+00:00

I have a Image list assigned to a listview to display transparent images. There

  • 0

I have a Image list assigned to a listview to display transparent images.

There is a slight issue with this regarding some transparent images that are added, and that is they are sometimes hard to see/find in the listview.

See this example image:

enter image description here

You will notice that the images (noticeably the mouse) is barely viewable, infact if a empty image was added you would not even see it, the number captions come to the rescue here to show there is something actually there.

But I would like to make the images visually easier to see. I thought maybe having another image underneath the transparent images would work – of course though it could not affect the actual image.

So with that in mind, I made a bitmap of a chessboard grid:

enter image description here

I feel this would be the most suitable way of representing transparent areas of the images just like Paint.NET etc does.

To further illustrate this example I have modified the original image to show how it would look, if we had the chessboard bitmap as the underlay image:

enter image description here

Having the chessboard there would indicate there is a list item there in the first place, and the bitmap of the chessboard grid could be darker or an altogether different kind of image. As I said earlier if there was no image you would see nothing at all, so better to show an empty chess grid or other bitmap than nothing.

So, how can I display a second image underneath the original images using a imagelist to give a result similar to the example above? The underneath image could be anything – just another loaded bitmap for example.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T16:18:01+00:00Added an answer on June 7, 2026 at 4:18 pm

    If you store the chessboard as the first image (with index 0) and make the overlay image from the current image in the OnGetImageIndex event handler, it will do what you want to. However I’m not sure how efficient is to make the overlay image every time the event is fired.

    procedure TForm1.ListView1GetImageIndex(Sender: TObject; Item: TListItem);
    begin
      // make the overlay (with overlay index 1) from the 
      // image with index Item.Index + 1
      ImageList1.Overlay(Item.Index + 1, 1);
      // use the first image from the list as a background
      Item.ImageIndex := 0;
      // and assign just created overlay index for overlay
      Item.OverlayIndex := 1;
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a list of image paths in my PHP script that I would
I have the following CSS .ul{ list-style-image:url(/images/bullet.png) } My bullet.png is 20 x 20px
I have a list of items like this... <ol> <li> <span></span> <img src="image.png" />
I have an image list and would like to add a directory of images
i have an image that contains a series of images, e.g.: In the olden
I have a winforms image list which contains say like 200 images 256x256. I
I have an image list in a list view where previously the only images
I have listview with combox=true containg images. Each item is assigned a tag. I
i have image collection @images = Image.find(:all) and displaying it like this <%@images.each do|image|%>
I have an image that I do some processing to in order to separate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.