Resize Text Control

Posted on 2007-08-03
Last Modified: 2013-11-26
I am writing a app.. I have a tab control on the page and a text box in the tab control.
How do I make it so the tab control resizes with the form when maximized and then of course the text box needs to widen too.
Question by:NTGuru705
    LVL 6

    Expert Comment

    Did you try anchoring the tab control and then the textbox?
    LVL 6

    Accepted Solution

    Anchor the left, right, top and bottom of the tab control to the form, then anchor the right, left and top of the textbox (assuming you want the textbox to say the same height, otherwise anchor bottom too)
    LVL 1

    Author Comment

    that did it.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now