Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Help - Non editable columns???
Message
 
To
02/10/2001 11:07:09
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00563039
Message ID:
00563045
Views:
16
Peter,
try this setting
thisform.grid1.readonly = .t.

- Alek

>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?
Alek Massey
- The only stupid question is one left unasked -
Previous
Reply
Map
View

Click here to load this message in the networking platform