Results 1 to 4 of 4

Thread: scrollbar trouble

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Posts
    6
    With the forms 2.0 scrollbar, has anyone noticed that if scrbar.LargeChange is set to a larger value than scrbar.Max, the thumb dissappears? Is this a bug, and if so does anyone know a fix or workaround?

    Thanks,


    fpitch

  2. #2
    Lively Member
    Join Date
    Jan 2001
    Location
    St. Louis, MO USA
    Posts
    77

    Question

    I am still very new at this, but why would you want to set the LargeChange to greater than the Max?

  3. #3
    Guest
    The reason why this happens is that the thumb adjusts to fit the scrollbar, and when you set the LargeChange to a value higher than the maximum, it will grow larger than the actual scrollbar, thus it seems to have (but not really have) disappeared.

  4. #4

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Posts
    6
    I was under the impression that the size of the thumb as a proportion of the space should be

    scrbar.largechange / (scrbar.largechange + scrbar.max)

    or approximately that anyway (that would make sense with how it looks in explorer) in which case I should be able to set largechange to a value greater than scrbar.max to indicate that I am viewing more of my window than there is offscreen. This works fine with the Forms 1 scrollbar. Why not Forms 2?

    fp

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