Visual Basic - Scroll de un fichero en Texbox

Life is soft - evento anual de software empresarial
 
Vista:

Scroll de un fichero en Texbox

Publicado por Antonio (2 intervenciones) el 10/10/2000 00:00:00
Tengo un fichero .txt en un textbox y me gustaría poder hacer un scroll automático, pero no hay manera de que me salga. ¿Me pueden ayudar?

Un saludo Antonio
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Scroll de un fichero en Texbox

Publicado por tecniCam (220 intervenciones) el 10/10/2000 00:00:00
Deja los TextBox...
En un Formulario debes colocar un PictureBox y un Control Timer (Interval = 250 aprox. para velocidad normal), pega lo que sigue y pruébalo:
Sub ShowMessage()
Static MsgPtr As Integer
Static MyText As String
If Len(MyText) = 0 Then
MsgPtr = 1
MyText = " Fíjate cómo funciona esta tontería hecha en Visual Basic! Saludos tecniCam... "
End If
Picture1.Cls
Picture1.Print Mid$(MyText, MsgPtr); MyText;
MsgPtr = MsgPtr + 1
If MsgPtr > Len(MyText) Then
MsgPtr = 1
End If
End Sub
Private Sub Timer1_Timer()
ShowMessage
End Sub
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar