mell01
Messages postés72Date d'inscriptionlundi 6 juin 2005StatutMembreDernière intervention15 mai 2006
-
20 juin 2005 à 14:31
cs_christian225
Messages postés11Date d'inscriptionmercredi 18 février 2009StatutMembreDernière intervention18 août 2012
-
19 avril 2012 à 14:02
bonjour,
j'ai une msflexgrid rempli par ma base de donnée ,mais ensuite les champs de la msflexgrid sont protégés en écriture ,comment faire pour pouvoir laissé l 'utilisateur modifier les champs.
merci d avance
cs_christian225
Messages postés11Date d'inscriptionmercredi 18 février 2009StatutMembreDernière intervention18 août 2012 19 avril 2012 à 14:02
copie ce code dans le KeyPress de ton msflexgrid
Dim strTexte
strTexte = MSFlexGrid1.Text
If KeyAscii = 8 Then
'Touche d'effacement
If Len(strTexte) > 0 Then MSFlexGrid1.Text = Left(strTexte, Len(strTexte) - 1)
ElseIf KeyAscii <> 13 Then
MSFlexGrid1.Text = strTexte & Chr(KeyAscii)
End If