• scroll within textbox (office xp 2000)

    Author
    Topic
    #416121

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

    Viewing 0 reply threads
    Author
    Replies
    • #929769

      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.

      • #929834

        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?

        • #929835

          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.

          • #929846

            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

    Viewing 0 reply threads
    Reply To: Reply #929846 in scroll within textbox (office xp 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel