MS FLEX GRID
Alguém sabe como fazer para por exemplo: bater a tecla enter em uma linha selecionada do grid e localizar uma linha?
grd_keyPress(keyascii As Integer, Row As Long)
' posso colocar variáveis como long?
grd_keyPress(keyascii As Integer, Row As Long)
' posso colocar variáveis como long?
não entendi muito bem sua duvida mas se e pra capturar o enter coloca esse codigo no evento
if keyascii = 13 then
'sua rotina
end if
Private Sub MSFlexGrid1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
MsgBox MSFlexGrid1.Row
MsgBox MSFlexGrid1.Col
End If
End Sub
If KeyAscii = 13 Then
MsgBox MSFlexGrid1.Row
MsgBox MSFlexGrid1.Col
End If
End Sub
Tópico encerrado , respostas não são mais permitidas