Results 1 to 1 of 1
  1. #1
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    614

    Scrolling text using Access 2010

    Attached is a Access 2010 sample db showing marquee text or scrolling text, The text you select scrolls from left to right at the bottom of your form. Animation doesn't interfere with your other code once started as it doesn't use form timer or string manipulation.


    Procedure Code Header
    Code:
     Public Sub ShowScrollingText(frmName As Form, wBrowser As String, ScrollText As String, Optional AnimSpeed As Integer, Optional bColor As Long, _
    Optional fColor As Long, Optional fSize As Integer, Optional fBold As Boolean, Optional fItalic As Boolean, _
    Optional fName As String)
    
    .
    .
    .
    End Sub
    Add a WebBrowser control to your form and call the above procedure -
    Code:
    ShowScrollingText Me,"WebBrowserControlName",4,"your text to scroll", , RGB(219, 238, 244), RGB(0, 0, 255), 15, True, True,"Arial"
    The code creates a .txt file in the same directory as this db, changes it to .xaml file and sets the control source of the WebBrowser Control to this file.

    Post any errors/suggestions to improve further.
    Attached Files Attached Files

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

Similar Threads

  1. Replies: 8
    Last Post: 01-17-2014, 03:29 AM
  2. Replies: 1
    Last Post: 06-04-2012, 04:31 PM
  3. Replies: 4
    Last Post: 05-17-2012, 03:02 PM
  4. Text limit in a form Access 2010
    By ThebigCt in forum Access
    Replies: 2
    Last Post: 02-02-2012, 10:14 PM
  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