Icon size in Tlistview??

Posted on 2003-11-19
Last Modified: 2008-03-10
how can I controll icon size in listview (vsicon viewstyle) ?? I tryed width and hieght in large image properties but my icons disappeared.(I want size near to windows desktop icons)
Question by:sraab2004
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

Accepted Solution

Mamouri earned 50 total points
ID: 9777368
Put a TImageList and TListView in your form.

Change Width and Height propery of TImageList to 100 and 100. Add some images to it.

Now Use a code like this for adding Images:
  i: integer;
  for i := 0 to ImageList1.Count - 1 do
    ListView1.Items[ListView1.Items.Count - 1].ImageIndex := i;

Let me know does it work and do you need that?


Author Comment

ID: 9777712
thanks  Mamouri that exactely what I want

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

719 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