scroll bars for picture/label box

i'm trying to read text from a file and output the text to a picture or label box, but both doesn't have scroll bars option. So the i can't view all of the text being output in the picture box/label box.
anyone can help???

i'm trying to do linefeed in textbox but doesn't work
for example, txtbox.text = "This is" & chr(10) & "something"
anyone can help???

Comments

  • If you're trying to input text to a picture or label box and want scroll bars, you're out of luck. Just input the text file into a textbox and set the ScrollBar value to what you would like it to be in the properties window.

    As for the linefeed, use Chr(10) & Chr(13) for the line break.
    You can also use VB's special character for this, vbCrLf.

    ..:: Zantos::..
  • : If you're trying to input text to a picture or label box and want scroll bars, you're out of luck. Just input the text file into a textbox and set the ScrollBar value to what you would like it to be in the properties window.
    :
    : As for the linefeed, use Chr(10) & Chr(13) for the line break.
    : You can also use VB's special character for this, vbCrLf.
    :
    : ..:: Zantos::..
    :


    i got the vbCrLf already.... Chr(10) & Chr(13) doesn't work every time for me though.....thanz anyway....
    i was juz wondering bout adding scrollbars for label box or picture box.....anyway....thanz for the advice....
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories