Solved

Icon size in Tlistview??

Posted on 2003-11-19
2
1,377 Views
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)
0
Comment
Question by:sraab2004
[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
2 Comments
 
LVL 3

Accepted Solution

by:
Mamouri earned 50 total points
ID: 9777368
Hi!
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:
var
  i: integer;
begin
  for i := 0 to ImageList1.Count - 1 do
  begin
    ListView1.Items.Add;
    ListView1.Items[ListView1.Items.Count - 1].ImageIndex := i;
  end;

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

Regards
0
 

Author Comment

by:sraab2004
ID: 9777712
thanks  Mamouri that exactely what I want
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

726 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