I have a grid with the following none default properties (other than the usual width, height etc):
ALLOWCELLSELECTION = .F.
HIGHLIGHTSTYLE = 2
RECORDMARK = .F.
RECORDSOURCE = tablename
RECORD SOURCE = ALIAS
SPLITBAR = .F.
I am basically using a grid for the user to select record from (search results) and then populating textboxes etc on the same form for editing.
If I set the grid ENABLED = .F. and run a refresh I can still select different rows in the grid. I was hoping the user could not change the selected row until the grid was enabled. I always assumed that setting the enabled property to .F. would stop you doing anything with an object but this doesn't seem to be the case with a grid.
Any way I can stop user selecting different rows in the grid?
Thanks,
Mark Davies
Warwickshire County Council
ALLOWCELLSELECTION = .F.
HIGHLIGHTSTYLE = 2
RECORDMARK = .F.
RECORDSOURCE = tablename
RECORD SOURCE = ALIAS
SPLITBAR = .F.
I am basically using a grid for the user to select record from (search results) and then populating textboxes etc on the same form for editing.
If I set the grid ENABLED = .F. and run a refresh I can still select different rows in the grid. I was hoping the user could not change the selected row until the grid was enabled. I always assumed that setting the enabled property to .F. would stop you doing anything with an object but this doesn't seem to be the case with a grid.
Any way I can stop user selecting different rows in the grid?
Thanks,
Mark Davies
Warwickshire County Council