Posted 20 years ago
by xenite
Hi all,
I'm trying to embed a panel in one page of my wizard. I need it to autoscroll when the dynamic content it hosts gets too large for the window (or the window is resized to be too small).
The problem is that if (and only if) I set it to anchor to left, top, bottom, and right (so it resizes with the window), it resizes such that it's bigger than the wizard page. If I make it much smaller than the page, it still gets bigger, though not bigger than the page. It's like it resizes over the whole area, though, because a label put below the panel goes missing even if its area is still visible. Again, turn off the anchor to the bottom and this problem goes away.
Looks okay in the designer:
<IMG SRC="http://www.themcdaniels.net/before.jpg">
But when run, it misbehaves.
<IMG SRC="http://www.themcdaniels.net/after.jpg">
Anybody seen anything like it?
I'm trying to embed a panel in one page of my wizard. I need it to autoscroll when the dynamic content it hosts gets too large for the window (or the window is resized to be too small).
The problem is that if (and only if) I set it to anchor to left, top, bottom, and right (so it resizes with the window), it resizes such that it's bigger than the wizard page. If I make it much smaller than the page, it still gets bigger, though not bigger than the page. It's like it resizes over the whole area, though, because a label put below the panel goes missing even if its area is still visible. Again, turn off the anchor to the bottom and this problem goes away.
Looks okay in the designer:
<IMG SRC="http://www.themcdaniels.net/before.jpg">
But when run, it misbehaves.
<IMG SRC="http://www.themcdaniels.net/after.jpg">
Anybody seen anything like it?