I have a grid that I use to display the current record in a table - sort of like a listbox - but I use some dynamic coloring for readability along with the headers - and this works fine.
Now I don't want the user to be able to edit inside the grid. If they click on a grid row or column, I want the record current record to change accordingly but I want the focus to be in a textfield OUTSIDE the grid.
I have tried to add thisform.txtSearch.SETFOCUS to each of these independantly and together in various configurations.
- thisform.grid1.click
- thisform.grid1.Column1.text1.click
- thisform.grid1.column1.text1.gotfocus
Just when I think it might be working, the current column/row item field turns to white and I end up with an editing cursor in the field and able to change the data - can't have that.
What am I missing?
Peter Brama
West Pointe Enterprises
VFP is getting easier but STILL alot to learn!!