Fernando15 de Noviembre del 2003
PreguntaComo puedo hacer de estas dos subrutinas funciones publicas para insertar en un modulo y poder utiliar en todo la aplicacion.
\'salta a la sisguiente caja de TExto al llegar a un numero de caracteres
Private Sub Text1_Change()
if Len(Trim(Texi1.text))>Tex1.MaxLength then
Text2.Setfocus
End If
End Sub
\'cambia el color del texto del textbox poniendo en amarillo
If TextBox4 = "" Then
TextBox4.BackColor = &HFFFF&
Else
TextBox4.BackColor = &H80000005
End If
\'salta a la sisguiente caja de TExto al llegar a un numero de caracteres
Private Sub Text1_Change()
if Len(Trim(Texi1.text))>Tex1.MaxLength then
Text2.Setfocus
End If
End Sub
\'cambia el color del texto del textbox poniendo en amarillo
If TextBox4 = "" Then
TextBox4.BackColor = &HFFFF&
Else
TextBox4.BackColor = &H80000005
End If
