Actually, yes, you can, edit cells in the MsFlexGrid. Here's an example. Use this code on KeyPress event of the MsFlexGrid:
------------------Code:Private Sub MSFlexGrid1_KeyPress(KeyAscii As Integer) With MSFlexGrid1 Select Case KeyAscii Case 8 If Not .Text = "" Then .Text = Left(.Text, Len(.Text) - 1) End If Case Else .Text = .Text & Chr(KeyAscii) End Select End With End Sub
Serge
Senior Programmer Analyst
[email protected]
[email protected]
ICQ#: 51055819




Reply With Quote