Metodo EXIT
Como eu faço para ir para o metodo EXIT de um DBcombo, quando eu teclar ENTER
Obrigado
Jelves@terra.com.br
Obrigado
Jelves@terra.com.br
Jelves
Curtidas 0
Respostas
Ladeira
07/02/2003
No método KeyPress do componente digite:
[b:fe22039ea6]if key = #13 then
dbCombo1Exit(sender);[/b:fe22039ea6]
Ou no KeyDown:
[b:fe22039ea6]if key = VK_RETURN then
dbCombo1Exit(sender);[/b:fe22039ea6][/b]
[b:fe22039ea6]if key = #13 then
dbCombo1Exit(sender);[/b:fe22039ea6]
Ou no KeyDown:
[b:fe22039ea6]if key = VK_RETURN then
dbCombo1Exit(sender);[/b:fe22039ea6][/b]
GOSTEI 0