Ryan Holmes wrote:
>
> It's pretty basic boilerplate code that creates a Listbook, adds a
> page, and generates controls within that page (20 of them). Here's an
> image of what this code does:
> ...
> As you can see, it defaults to only showing the first 7 (and a little
> more some) controls, when there are 20, without any scroll. The user
> would have to resize the entire window in order to see all the
> content. I've tried a few different way, with no luck. How can I
> accomplish this?
Accomplish what? You've done a very nice job of coming up with a
minimal test case and describing what the code actually does, but you
haven't told us what behavior you WANT.
I'm guessing you want to see a vertical scrollbars in the content
window. In that case, you have to provide the scrolling hints. Add:
self.SetScrollbars( 1, 1, 20, 20 )
and I think you'll be happier.
--
Tim Roberts,
ti...@probo.com
Providenza & Boekelheide, Inc.