Click to See Complete Forum and Search --> : FLEXGRID - URGENT


October 1st, 1999, 09:31 AM
I'm using VSFLEX Grid control in one of the screens that I have developed.
How can I know whether a row has been selected or not, I mean when the user displays "Search" button I display the records for that criteria in the Flex grid, when he clicks "OK" button I display the corresponding record that has been selected in the grid.But If he doesnt select anything and clicks "Ok" even then I'm getting the first record as the record selected, why is it ? and how can I check whether a record has not been selected in the FLEX GRID.

TonyShape
October 1st, 1999, 09:49 AM
You can test the value of the row property.
-1 means that there is no row selected