Results 1 to 2 of 2
  1. #1
    Emmanuel is offline Competent Performer
    Windows 11 Access 2016
    Join Date
    Jan 2020
    Posts
    272

    Scrolling text from right to left


    I have a scrolling text on a form that moves text from left to right. Would be glad if i could get some help with letting the text move from right to left. Below are my codes:

    Code:
    Const Label33 As String = "SYSTEMS INC"           
    Const Label40 As String = "ALASKA SESSION"
    
    
    
    
    Static strMsg As String
    Static strMsg1 As String
      If Len(strMsg) = 0 Then
        strMsg = Label33 & Space(intLength - Len(strCaption))
        
      Else
        strMsg = Right(strMsg, 1) & Left(strMsg, Len(strMsg) - 1)
        
      End If
    
    
    
    
    If Len(strMsg1) = 0 Then
        
        strMsg1 = Label40 & Space(intLength - Len(strCaption))
      Else
      
        strMsg1 = Right(strMsg1, 1) & Left(strMsg1, Len(strMsg1) - 1)
      End If
      ' Reverse the commenting below to enable lblScroll
      Me.Label14.Caption = strMsg
      Me.Label126.Caption = strMsg1
      ' Me.lblScroll.Caption = strMsg

  2. #2
    Emmanuel is offline Competent Performer
    Windows 11 Access 2016
    Join Date
    Jan 2020
    Posts
    272
    Note that the above criteria is for scrolling text for 2 labels. Thanks in advance to all

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Rich Text Box isn’t scrolling
    By Sesame7883 in forum Forms
    Replies: 2
    Last Post: 09-21-2022, 07:12 PM
  2. Replies: 7
    Last Post: 02-15-2019, 08:26 AM
  3. Replies: 4
    Last Post: 02-11-2016, 11:22 AM
  4. Replies: 8
    Last Post: 01-17-2014, 03:29 AM
  5. scrolling text
    By gesai in forum Access
    Replies: 5
    Last Post: 05-19-2009, 07:35 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums