Solved

Icon size in Tlistview??

Posted on 2003-11-19
2
1,340 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
2 Comments
 
LVL 3

Accepted Solution

by:
Mamouri earned 50 total points
Comment Utility
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
Comment Utility
thanks  Mamouri that exactely what I want
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PDF library for Delphi 2 89
Convert Jpg /PNG To GIF 5 102
Strange behavior when a form is closed 6 42
Downloading email attachments 2 54
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

13 Experts available now in Live!

Get 1:1 Help Now