Results 1 to 4 of 4

Thread: scroll

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Location
    Ca
    Posts
    93

    Question

    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]

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    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

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Location
    Ca
    Posts
    93

    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]

  4. #4
    Guest
    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
  •  



Click Here to Expand Forum to Full Width