hansu
Programmer
- Mar 12, 2002
- 89
I'm stuck with the following problem:
When the user selects a row in a hierarchical flexgrid (flgReport) I retrieve a value from the selected row which is stored in Col 1.
I did it that way in the click event:
I'd like to keep the selected row highlighted as long as the user doesn't move to another row. But when I use the click event or also the mousedown event the row is only highlighted during clicking. Is there a way to set the properties to solve that problem?
When the user selects a row in a hierarchical flexgrid (flgReport) I retrieve a value from the selected row which is stored in Col 1.
I did it that way in the click event:
Code:
Private Sub flgReport_Click()
Dim strNum$
flgReport.Col = 1
strNum = flgReport.Text
End Sub
I'd like to keep the selected row highlighted as long as the user doesn't move to another row. But when I use the click event or also the mousedown event the row is only highlighted during clicking. Is there a way to set the properties to solve that problem?