Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Help - Non editable columns???
Message
De
02/10/2001 11:07:09
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid Help - Non editable columns???
Divers
Thread ID:
00563039
Message ID:
00563039
Vues:
56
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!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform