|
-
Jun 18th, 2000, 04:10 AM
#1
Thread Starter
Lively Member
Say you have a textfile that is really long and you want to add a scroll-bar to it. How woyld you make that scroll bar scroll down the text box?
Timbudtwo
I have no life, only one with computers.
VB 6.0 Enterprise Edition
[hr]
-
Jun 18th, 2000, 04:15 AM
#2
_______
text box scroll bars
at design time set the textbox properies of Multilne = true
and scrollbars = both or vertical or horizontal..
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Jun 18th, 2000, 04:21 AM
#3
Thread Starter
Lively Member
also...
also I wanted to know how I would be able to make a box come up so that you can save that text to a file.
Timbudtwo
I have no life, only one with computers.
VB 6.0 Enterprise Edition
[hr]
-
Jun 18th, 2000, 06:01 AM
#4
this wont make the message box popup, you will either have to use the common dialog API(using cmdlg32.dll) or the common dialog OCX....
Code:
Dim FF As Integer
FF = FreeFile
Open "C:\folder\myfolder\NewFile.txt" For Output As FF
Print #FF, Text1.Text
Close FF
that code should work fine, I have never really had to use common dialog, so I dont really know how. Sorry.
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
|