Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Help - Non editable columns???
Message
From
02/10/2001 11:07:09
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid Help - Non editable columns???
Miscellaneous
Thread ID:
00563039
Message ID:
00563039
Views:
55
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!!
Next
Reply
Map
View

Click here to load this message in the networking platform