Re: newbie form question
From: Mikhail Fedosov (noemail_at_mail.ru)
Date: 09/20/04
- Next message: Imran Koradia: "Re: Form Inheritance: Specified Cast Is Not Valid?"
- Previous message: James: "Re: Form Inheritance: Specified Cast Is Not Valid?"
- In reply to: Stephanie_Stowe_at_IDX.COM: "newbie form question"
- Next in thread: Stephanie_Stowe_at_IDX.COM: "Re: newbie form question"
- Reply: Stephanie_Stowe_at_IDX.COM: "Re: newbie form question"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 20 Sep 2004 23:53:08 +0400
Did you set the Anchor property of Panel to (AnchorStyles.Top |
AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right) ?
I suppose if you set this property correctly you'll get rid of your
problem. In this case Panel will follow the parent (user control) size.
On Mon, 20 Sep 2004 11:20:18 -0700, <Stephanie_Stowe@IDX.COM> wrote:
> I have a form with a treeview on it. This form also has a user control.
> This user control has a panel with controls in it (a couple of textboxes
> and a ComponentOne TrueDB Grid). It is lovely. Except that when I resize
> the form, the panel does not present scrollbars. I have the panel's
> autoscroll property set to true. I went into the user control in the
> designer. If I resize the panel itself, the scrollbars automatically
> appear. And that is lovely. If I resize the control itself, the
> scrollbars
> do not appear. This makes sense to me. The panel does not know it's
> container was resized. How do I tell it?
>
> Thanks
>
> Stephanie
- Next message: Imran Koradia: "Re: Form Inheritance: Specified Cast Is Not Valid?"
- Previous message: James: "Re: Form Inheritance: Specified Cast Is Not Valid?"
- In reply to: Stephanie_Stowe_at_IDX.COM: "newbie form question"
- Next in thread: Stephanie_Stowe_at_IDX.COM: "Re: newbie form question"
- Reply: Stephanie_Stowe_at_IDX.COM: "Re: newbie form question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|