Results 1 to 8 of 8

Thread: Scroll bar on text box

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    34
    VB6:

    I need to be able to add a scroll bar to a text box. I'm not sure if there is a setting on the box properties

    (my crappy-no-use-at-all-bargin-bin-VB6-book says there is... it lies I say)

    or how I would link a scroll bar to the text box. I'm not used to windows programming, I'm still getting the feel of creating GUIs.

    yarr...

    thanks.

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Set the scrollbar property of the textbox (at design-time).

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    34
    I don't what you're smoking, but I want some! anything that would put a scrollbar property there!

    I'm afraid there is no scrollbar property available...

    yarr... I blame myself for getting in over my head.. really.

  4. #4
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    You just set the Scrollbars properties of the text box to
    Horizontal,Vertical or Both ScrollBars.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  5. #5

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    34
    well I'll be buggered... THERE AIN'T NONE!

    Yup, that's right! In Access maybe, but my alphabetic properties go from
    RightToLeft = False
    to
    TabIndex = 7

    no scroll nothin' Maybe visual studio is smokin' the crack and I need to reinstall.... I dunno.. I don't wanna be mean. I'm sorry folks... I'm just really pissed at this part of my program right now.



  6. #6
    Member JPRoy392's Avatar
    Join Date
    Aug 2000
    Posts
    50
    In design time, click once on the text box to make sure you are looking at the correct object in the property box. Go down to ScrollBars and Pick Horizontal, Vertical or Both. That's a drop-down box. And Viola! Scroll Bars appear!
    Jim

    "...head is all empty and I don't care..."

  7. #7

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    34
    I'm greatful for all of your assistance in this matter, and all of the responses I got from you and now I will put my foot in my mouth bite hard since I just noticed that what I was referring to as a text box was really a label... Problem solved.

    That is all, maybe I'll go back to Unix programming, none-o-this gui crap...

    THANK YOU ALL!!

  8. #8
    Member JPRoy392's Avatar
    Join Date
    Aug 2000
    Posts
    50

    Smile

    Don't give up. You just learned something new today and maybe tomorrow you'll learn something else.
    Jim

    "...head is all empty and I don't care..."

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