embedded autoscrolling panel misbehaves

Wizard for Windows Forms Forum

Posted 20 years ago by xenite
Avatar
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?

Comments (3)

Posted 20 years ago by xenite
Avatar
Oh, and the autoscrolling is a red herring. It's only got to do with the anchoring, as far as I can tell.
Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
I was able to duplicate it here. I'll see if there's anything we can do. Are you able to determine what amount it's being increased by?


Actipro Software Support

Posted 20 years ago by xenite
Avatar
Difficult to tell. It's as if when anchored to the bottom, it uses the bottom of the WizardPage in the designer, but the bottom of the Wizard itself when running.
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.