No sir, no such Anchor property available. Im talking about textboxes
in toolstrip control. The ordinary textboxes have the Anchor property,
but not the ones that are available in toolstrip.


On Oct 8, 3:09 pm, Mike Fry <[email protected]> wrote:
> Faraz Azhar wrote:
> > Hello
>
> > Im using VB 2008 express edition. I try to create a toolstrip on my
> > form and add few buttons and a text box on it.
>
> > I want to add a feature that resizes the width of the textbox
> > according to the width of the form window. If window is maximized, the
> > textbox's width should accordingly increase.
>
> > How to achieve this? I tried setting the AutoSize properties to True
> > for both ToolStrip and Textbox. Also but Stretch=True for Toolstrip.
> > Nothing works.
>
> Look at the Anchor property. You can 'fix' the position in relation to
> the parent container.
>
> --
> Best regards,
> Mike Fry
> Johannesburg.

Reply via email to