|
-
Apr 19th, 2007, 01:37 PM
#1
Thread Starter
New Member
double click ?grid
Hi all,
this is what im trying to do, i have a grid in this case i have a msflexgrid. when the user clicks on a row then double clicks on the same row, i want that row to display in a second msflexgrid or list, or listview, or mshflexgrid
as far as code this is what i have so far
Dim rowIndex As Integer
Dim colIndex As Integer
ListView1.ListItems.Clear
rowIndex = MSFlexGrid1.Row
For colIndex = 1 To MSFlexGrid1.Cols - 1
If colIndex = 1 Then
ListView1.ListItems.Add , , MSFlexGrid1.TextMatrix(rowIndex, colIndex)
Else
ListView1.ListItems.Add , , MSFlexGrid1.TextMatrix(rowIndex, colIndex)
End If
Next colIndex
this one is from msflexgrid to listview, but it will display the info column wise. i want the info to show row wise
lastname firstname address
doe
john
123 noname ave
somwhere
this is the way is being display. am i missing something in the code. can anyone help me with this headache. I appreciate any help
thank you very much
m.e. again
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|