neomatrix36
Messages postés5Date d'inscriptiondimanche 5 janvier 2003StatutMembreDernière intervention 5 mai 2004
-
23 mai 2003 à 10:34
cs_christian225
Messages postés11Date d'inscriptionmercredi 18 février 2009StatutMembreDernière intervention18 août 2012
-
19 avril 2012 à 14:02
je veux écrire dans une msflexgrid en mode Exécution pas en mode création
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