Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling some rows in a grid
Message
De
18/11/2003 14:45:36
 
 
À
18/11/2003 13:00:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00851094
Message ID:
00851137
Vues:
14
Thanks to both you and Chuck.

Yossi

>>Hi All:
>>
>>Can I disable some columns in some rows in a grid?
>>
>>Something like:
>>
>>
>>FOR i = 1 TO thisform.NumberOfRecords
>>	IF somecondition(i)
>>		thisform.grid1.column1.chkBox[i].enabled = .f.
>>	ENDIF
>>NEXT
>>
>>
>>Thanks,
>>
>>Yossi
>
>You can use the column.DynamicCurrentControl property.
>Add another checkbox to the column exactly like the current one, except set Enabled=.F.
>then
>
this.Column1.DynamicCurrentControl="IIF(somecondition,'chkBox1','chkBoxDisabled')"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform