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.