How do I incorporate a horizontal scroll bar to use with a textbox because the amount of data to be entered in is a lot

Recommended Answers

All 5 Replies

you mean use horizontal scroll bar to input in textbox?

try this :

Private Sub HScroll1_Change()
Text1.Text = HScroll1.Value
End Sub

Hi,

Make TextBox's property :
MultiLine = True
ScrollBars = 3 ' Both

Regards
Veena

ohhhh, i was wrong....
im so sorry friend, i m not read carefully.
the answer was given by veena.

Make TextBox's property :
MultiLine = True
ScrollBars = 3 ' Both

For just a horizontal scrollbar make ScrollBars=1. No need for making it MultiLine if you don't need the vertical scrollbar.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.