User control and resizes!

I have an user control and inside him i have one label and 1 textbox!

My problem is:

When i'am in design mode (a new project with this user control), i want to:

  - If i resize the user control with the left ctrl key down the size of the label increses/decrease.
  - If i resize the control with the right ctrl key down the size og the textbox change!

Any ideias to do that


Answer this question

User control and resizes!

  • Rick Troemel MS

    You will have to create a custom designer, in the custom designer you can control the keys and what they do. Look up controldesigner. I have no samples for this but I'm sure you can find something related.
  • User control and resizes!