Translate please?
- From: gsb58@xxxxxxxxxxx
- Date: 15 Sep 2005 21:26:45 -0700
Hi!
Anybody that can show me how this is done in Delphi.NET (Architct
2005):
Dim item1 As New ListViewItem("07:00", 0)
item1.SubItems.Add("Pick")
Dim item2 As New ListViewItem("07:30", 1)
item2.SubItems.Add("a")
Dim item3 As New ListViewItem("08:00", 2)
item3.SubItems.Add("date")
etc.....
'Add columns....
With lstView
.Columns.Add("TIME", 75, HorizontalAlignment.Center)
.Columns.Add("TEXT", 535, HorizontalAlignment.Center)
'Make list
.Items.AddRange(New ListViewItem() {item1, item2,
item3})
End With
This is mainly taken from the example Microsoft give on how to add
columns to a ListVie, and fill some data in it.
Me.Name
.
- Follow-Ups:
- Re: Translate please?
- From: gsb58
- Re: Translate please?
- Prev by Date: Re: Manipulate objects by reference
- Next by Date: Re: Translate please?
- Previous by thread: [D7 Newbie] Exception while closing busy file
- Next by thread: Re: Translate please?
- Index(es):