|
|
Postada em 07/03/2006 10:32 hs
Ou como o Daniel postou tb. vc. tem que colocar a rotina no keypress do campo origem
|
|
|
|
|
|
|
|
Postada em 07/03/2006 10:35 hs
eu tava tentando fazer do jeito do daniel.... ai blz ele passa p o segundo ai no segundo eu tenho q fazer p ele passar p o terceiro e assim por todos os txt's q eu tiver no form?
|
|
|
|
|
|
Postada em 07/03/2006 10:43 hs
ficaria assim se eu tivesse varios campos Private Sub txtNome_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then SendKeys "{TAB}" End Sub Private Sub txtIdade_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then SendKeys "{TAB}" End Sub Private Sub txtSexo_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then SendKeys "{TAB}" End Sub Private Sub txtTel_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then SendKeys "{TAB}" End Sub
|
|
|
|
|
|
Postada em 07/03/2006 10:44 hs
Isso terá que fazr em cada campo que voce queira essa ação
dsmn
|
|
|
|
|
|
Postada em 07/03/2006 10:45 hs
otimo valeu.... vcs dois salvaram minha vida
|
|
|
|
|
|
Postada em 07/03/2006 10:51 hs
não tem como fazer ele ir p todos os campos tem q ficar pondo em cada campo?
|
|
|
|