>
>How can I prevent the designer from resizing a user control? (without physical threats<s>)<>
>Where is this happening? When you drop a user control on a Form? Or after saving a Form, when you call it back up again? Typically this is not an issue ... maybe you have set some properties that keep re-setting the control's size?
>
>~~Bonnie
Maybe I didn't explain myself clearly (happends when I get excited).
OK. I create a new project. I create a user control (lets say it has 2 radio buttons in it). I add the user control to a form and all is good, until I need to add another radio button to the usercontrol. I add a 3rd radiobutton to the usercontrol, as a result of this the size of the usercontrol has to change. I recompile and go back to the form. The instance of the user control on the form has 3 radiobuttons but I can't see the 3rd radio button (or can only see part of it). So I resize the instance of the user control on the form.
Now what I really want is for the instance of the usercontrol on the form to change size automatically when the user control class changes size.
After typing all this I noticed that in this thread what I asked for is not allowing the instance to change size. Similar to when you add a base class textbox to the form you can make the control height change unless you change the control to multiline=true.
Hmm I am starting to think this could be done in the OnPaint event.
Is my rambling making any sense? :) (I am still upset about the listview <s>)
Einar
Semper ubi sub ubi.