Results 1 to 4 of 4

Thread: Scrolling up and down in a label?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    Is it possible to make a label "multiline" so that it can show multiple values from a database. The label must be one row high. And have scrollbars or a spinner button to change between the values.

    Any suggestions?

  2. #2
    Junior Member
    Join Date
    Aug 1999
    Location
    Behinf you
    Posts
    24
    If I understood correctly what you want: How bout using the VScroll control, and having the different values in an array. Then the Vscroll.value can be used to get the desired value from the array and put in the label's caption...
    Hope thats what you wanted

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    That may work, but how do i get the values into the array from the database?

    The field in the database is a text field and contains several names. The names are sperated with the Enter key. Any ideas to "loop" out the names into an array?


  4. #4
    Junior Member
    Join Date
    Aug 1999
    Location
    Behinf you
    Posts
    24

    Question -=-

    What do you mean by several names seperated by an enter key?
    Please reply with an example of how the Database info looks like... Anyways, Try using the split command to get the different values... If you give more info I'll be able to help you out a little more

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