|
-
May 15th, 2002, 10:51 AM
#1
Thread Starter
New Member
Darn scrollbars
I have a text editor (like Niotepad) and I read the text using the file system object like this
Dim fso As New FileSystemObject, fil As file, ts As TextStream
Set fil = fso.GetFile("C:\world.txt")
Set fil =ts.opeanAstextstream(ForReading)
e = ts.ReadAll
and so on, but if the text is larger than the textbox, i need a scrollbar and don't know how to put code in order to scroll the text. please help me. I'm sure my 'reading' code isn't good!
To make a program or not to make a program... that is the question. Or to destroy your computer's monitor, that's a second question
-
May 15th, 2002, 10:59 AM
#2
Bouncy Member
The TextBox control has a ScrollBars property which by default is set to None. Thats why your arent showing up . Set it to Horizontal, Vertical or Both and it will handle the rest for you, no coding required
-
May 16th, 2002, 02:31 AM
#3
Thread Starter
New Member
Thanx
Thanks! I wouldn't have figured it out! Darn scrollbars!
To make a program or not to make a program... that is the question. Or to destroy your computer's monitor, that's a second question
-
May 16th, 2002, 03:20 AM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|