Hi
I try to use in my applications in PB the control SYSLISTVIEW32 calling him with #INCLUDE "COMMCTRL.INC"
I succeed in preparing and to easily fill the grid using one procedure of mine that calls ListView_InsertItem.
But here is the problem:
In VB using the object ListView I have available the events of the single click on a line and and to know in this way the value of one single cell
Example:
Private Sub lst_Quadri_ItemClick (ByVal Item As MSComctlLib.ListItem)
l_SelectedQ = Item.Index
lg_CodQuadro = Val (lst_Quadri.ListItems.Item (l_SelectedQ) .ListSubItems (1) .Text)
of the double click and to open the window of the card with the values to modify
Example:
Private Sub lst_Quadri_DblClick()
P_ModifyQ
End Sub
click on a column to force an arrangement
et cetera et cetera
Someone of good heart wish can explain me, even with a veeeeery clear and simple example, as I can manage this control to use all, or almost, the possibilities that VB offers?
Thanks in advance
Roberto from Italy
I try to use in my applications in PB the control SYSLISTVIEW32 calling him with #INCLUDE "COMMCTRL.INC"
I succeed in preparing and to easily fill the grid using one procedure of mine that calls ListView_InsertItem.
But here is the problem:
In VB using the object ListView I have available the events of the single click on a line and and to know in this way the value of one single cell
Example:
Private Sub lst_Quadri_ItemClick (ByVal Item As MSComctlLib.ListItem)
l_SelectedQ = Item.Index
lg_CodQuadro = Val (lst_Quadri.ListItems.Item (l_SelectedQ) .ListSubItems (1) .Text)
of the double click and to open the window of the card with the values to modify
Example:
Private Sub lst_Quadri_DblClick()
P_ModifyQ
End Sub
click on a column to force an arrangement
et cetera et cetera
Someone of good heart wish can explain me, even with a veeeeery clear and simple example, as I can manage this control to use all, or almost, the possibilities that VB offers?
Thanks in advance
Roberto from Italy
Comment