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?
.
Relevant Pages
- User Control inherited from TextBox with Label
... want the control to inherit from TextBox and have all of its properties ... available rather than the default properties of the user control. ... "LabelCaption" property is set, a label is either created on the same ... figure out how to override setbounds and/or inherit from it too. ... (microsoft.public.dotnet.languages.vb) - Creating a user control inherited from textbox with a label...
... want the control to inherit from TextBox and have all of its properties ... available rather than the default properties of the user control. ... "LabelCaption" property is set, a label is either created on the same ... figure out how to override setbounds and/or inherit from it too. ... (microsoft.public.vb.controls) - Re: Getting Started with Web User Control
... > | Subject: Re: Getting Started with Web User Control ... > |> an instance of MyControl and a label ... > |> is in the user control's textbox. ... (microsoft.public.dotnet.framework.aspnet.webcontrols) - Re: cant change label on inherited (panel) control
... One solution is to add a public property to your user control that exposes ... Public Property TotalLabel() As Label ... > myPanel - docked bottom ... (microsoft.public.dotnet.languages.vb) - Re: UserControl Design Mode
... Is there any way during design mode via the VS.Net Designer, ... > allow the developer using the designer access to that label or textbox of ... Ie. click on the user control but directly where the label ... (microsoft.public.dotnet.framework.windowsforms) |
|