943,696 Members | Top Members by Rank

Ad:
Jun 24th, 2008
0

using Horizontal scroll bar in visual basic

Expand Post »
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
boasyd is offline Offline
1 posts
since Jun 2008
Jun 24th, 2008
0

Re: using Horizontal scroll bar in visual basic

you mean use horizontal scroll bar to input in textbox?
Last edited by Neji; Jun 24th, 2008 at 8:08 am.
Reputation Points: 34
Solved Threads: 1
Light Poster
Neji is offline Offline
28 posts
since Feb 2008
Jun 24th, 2008
0

Re: using Horizontal scroll bar in visual basic

try this :
vb Syntax (Toggle Plain Text)
  1. Private Sub HScroll1_Change()
  2. Text1.Text = HScroll1.Value
  3. End Sub
Reputation Points: 1182
Solved Threads: 392
Posting Sensei
Jx_Man is offline Offline
3,138 posts
since Nov 2007
Jun 24th, 2008
0

Re: using Horizontal scroll bar in visual basic

Hi,

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

Regards
Veena
Reputation Points: 84
Solved Threads: 140
Posting Shark
QVeen72 is offline Offline
923 posts
since Nov 2006
Jun 24th, 2008
0

Re: using Horizontal scroll bar in visual basic

ohhhh, i was wrong....
im so sorry friend, i m not read carefully.
the answer was given by veena.
Reputation Points: 1182
Solved Threads: 392
Posting Sensei
Jx_Man is offline Offline
3,138 posts
since Nov 2007
Jun 24th, 2008
0

Re: using Horizontal scroll bar in visual basic

Quote ...
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.
Reputation Points: 193
Solved Threads: 25
Posting Pro
Jishnu is offline Offline
518 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Help needed with code to add record to access database using VB 2005
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Help Me Using Unicode In VB 6.0





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC