Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    Apr 2003
    Location
    England
    Posts
    124
    Thanks
    0
    Thanked 0 Times in 0 Posts

    scroll within textbox (office xp 2000)

    has any one any ideas on how to achive scrolling within a textbox on a form
    can it be done? if so how

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 28 Times in 28 Posts

    Re: scroll within textbox (office xp 2000)

    If you want to be able to enter multiple lines, set the MultiLine property of the text box to True (and set the ScrollBars property to fmScrollBarsVertical).
    If you mean something else, please explain.

  3. #3
    2 Star Lounger
    Join Date
    Apr 2003
    Location
    England
    Posts
    124
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: scroll within textbox (office xp 2000)

    i have a textbox on a form, the textbox contains some 3000 lines of which 20 lines are visible at a time. Instead of using the vertical scroll bar i would like to be able to scroll within the textbox using the mouse wheel. is this possible?

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 28 Times in 28 Posts

    Re: scroll within textbox (office xp 2000)

    Text boxes on userforms don't react to the mouse wheel, unfortunately. It may be possible to use Windows API functions to scroll a userform text box with the mouse wheel, but I don't know how to do that.

  5. #5
    2 Star Lounger
    Join Date
    Apr 2003
    Location
    England
    Posts
    124
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: scroll within textbox (office xp 2000)

    thank you for your quick response. i have already looked at API and find it is leading me in circles but i will persevere . if i find anything that is of help to me i will let you know.
    thank you for your help once again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •