Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to auto change size of combobox, textbox or button in Windows Form when I change Size of Form? I use C# and visual studio 2008.
Posted

1 solution

Use the control's Anchor[^] property.

/ravi
 
Share this answer
 
Comments
Member 10452637 7-May-14 13:20pm    
Can you say clear more? I tried, but it isn't ok.
Member 10452637 7-May-14 13:24pm    
My ask is auto size when change size of form. It isn't location
Ravi Bhavnani 7-May-14 13:27pm    
> My ask is auto size when change size of form. It isn't location

I realize that. Did you care to read the documentation I pointed you to?

/ravi
Member 10452637 7-May-14 19:19pm    
yes. I did and I was code follow it. but it not true my desired.
Ravi Bhavnani 7-May-14 19:46pm    
Does this article help?

http://www.codeproject.com/Articles/14635/Drop-dead-easy-layout-management

Perhaps if you are able to clearly specify your needs I may be able to help more.

/ravi

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900