Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help on grid-box
Message
De
28/08/2000 15:44:33
 
 
À
28/08/2000 15:35:31
Richard Williams
State of Ohio, Dept. of Development
Columbus, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00409961
Message ID:
00409970
Vues:
20
>Can anyone tell me if I can make all but one field in a grid readonly. It would appear that my choices are all or none. Thanks Rick

Set the grid.ReadOnly = .F.

Then each column may be set independently.
What may be easiest is this - at design time.
Modify the form or class containing the grid.
Select just the grid.
In the command window enter each of these lines.
(Note: this assumes 1st column - use the one you need)
ASELOBJ(lax)
lax[1].ReadOnly = .F.
lax[1].SetAll("ReadOnly",.T.,"Column")
lax[1].Column1.ReadOnly=.F.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform