Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

How is this component called in Delphi?

Hi,

just a very simple question: How is the component for a list like in this example http://www.xpertdesign.de/images/screenshots/xecutorss.gif called in delphi?
Not the tabs, just the list with "ProjektTimer.exe" and "BackupX.exe". I couldn't find anything in Delphi 7...

thanks
0
Bohne
Asked:
Bohne
2 Solutions
 
SuperUtCommented:
Try a TStringGrid
0
 
andrewjbCommented:
.. Though you won't be able to do the tickbox without additional coding, or a different (non-Borland) component.
0
 
d1kGroupCommented:
TListView on Win32 Tab! set ViewStyle to vcReport and CheckBoxes!
0
 
shaneholmesCommented:
Drop aTListView (from Win32 tab on component palette) and set its ViewStyle property to vsReport

You will then have to right click on the component and choose columns editor to set up the columns (fields).


You can then right click on the component and chhose itens editor to add items to the TListVew

or

you can add items to it at runtime by using the following code:

var
 Item: TListItem;
begin
 ListView1.Items.BeginUpdate;
 ListView1.Items.Clear;
_____________________________
 //place a for or while loop here adding a item to the ListView
 Item:= ListView1.Items.Add;
 Item.Caption:= 'Caption Text'
 Item.SubItems.Add('Sub items text'); //call this method for each additional column
___________________________________________________________________
 ListView1.Items.EndUpdate;
end;


Shane
0
 
shaneholmesCommented:

and set checkboxes property = True;

Shane
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now