|
|||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||
|
Announcements
Want a new Job?
Chapters
Services
Feature Zones
|
IntroductionHello and thanks for downloading this utility. Lvx ( I have made the actual *Selected item index is returned from the control in Example (for you to implement in your code)Private Sub Delete_Click(ByVal sender _
As System.Object, ByVal e As System.EventArgs) Handles Delete.Click
Lvx1.delete(lvx1.index)
End Subaddcolumn(text As String, width As Integer, datatype As String)
Notes:
*** This pre-assignment in building the control is necessary when sorting. Example: Sub columns()
Lv.addcolumn("date", 80, "dt")
Lv.addcolumn("payee", 80, "s")
Lv.addcolumn("category", 80, "s")
Lv.addcolumn("Description", 80, "s")
Lv.addcolumn("details", 80, "s")
Lv.addcolumn("Expense", 80, "d")
Lv.addcolumn("Income", 80, "d")
End Sub
* fillwith (array(containing the item and its subitems)) Example: Structure itm
Dim dates As Date
Dim payee As String
Dim expense As Decimal
Dim income As Decimal
End Structure
Sub additem()
Dim item As itm
item.dates="01/01/2005"
item.payee="microsoft"
item.expense=£1050.99
dim t(4) as string
t(1)=item.dates.tostring
t(2)=item.payee.tostring
t(3)=item.expense.tostring
t(4)=item.income.tostring
lvx1.fillwith(t)
End Sub
Do Not use Note:
Note: to display or delete the fields of a selected item in the demo included, I've associated a context menu with the I hope you find my work useful.. Any feedback or ideas will be much appreciated. Please email me at london_man_46@yahoo.co.uk. Thanks.
|
||||||||||||||||||||||||||||||||||||||||||||