Dear VB users,
Can somebody tell me how to get a ListView object.?
Wich control file (.OCX) do I have to use?
Nice regards,
Michelle.
Printable View
Dear VB users,
Can somebody tell me how to get a ListView object.?
Wich control file (.OCX) do I have to use?
Nice regards,
Michelle.
Common Controls 5 and 6 should contain it
The file Comctl32.ocx should be in registered in your system directory
Dear Kedman think you can tell me how to wrap this into a list view:
If (loadedcheck) Then Exit Sub
Index = 0
Do
If (Index > 0) Then
Load CheckGDW(Index)
CheckGDW(Index).Top = CheckGDW(Index).Height * Index + CheckGDW(Index).Top
End If
CheckGDW(Index).Visible = True
CheckGDW(Index).Caption = rs!CustomerID
Index = Index + 1
Call rs.MoveNext
Loop Until rs.EOF()
loadedcheck = True
Well i hope you don't mind that i actually don't know what you're trying to do, what do you mean by wrapping it into a listview?
Well, the above code gives a column of check boxes to the amount in the database so i would like these check boxes inside a list view so i can scroll up and down through the selections incase the database is updated with new customers.
Many thanks