Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C1Flexgrid Selected Row

Status
Not open for further replies.

aspvbnetnerd

Programmer
May 16, 2006
278
SE
I want to get the current selected row from a DataGrid.

I am using C1flexgrid from ComponentOne and I want to get the current row that is selected.

When I have found the SelectedIndex. I want check if a column has the value "ERROR"

How would I set the X variable to the current selected row
Code:
Dim X As Integer
If C1fgArkiv.Item(X, 10) = "ERROR" Then
  Do Something
End If

/George
 
Could you use the .RowSel property?

Hope this helps

HarleyQuinn
---------------------------------
Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
may be
Code:
Dim X As Integer
If C1fgArkiv.Item(X, 10)[b].ToString[/b] = "ERROR" Then
  Do Something
End If

________________________________________________________
Zameer Abdulla
Help to find Missing people
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top