| Sub TitleScroll(frm As Form) Dim X As Integer, current As Variant, Y As String Y = frm.Caption frm.Caption = "" frm.Show For X = 0 To Len(Y) If X = 0 Then frm.Caption = "" current = Timer Do While Timer - current < 0.1 DoEvents Loop GoTo done Else: End If frm.Caption = left(Y, X) current = Timer Do While Timer - current < 0.05 DoEvents Loop done: Next X End Sub |
How to scroll caption on the form's title bar |
Express News India | Freelance ecommerce web development India