Resize labels on a windows form

G

Guest

Ok...got a question... I am writing an application that has labels with text in them along with link buttons. A good example of this can be seen in the Microsoft .NET Framework 1.1 Configuration application. In this application it appears that the links and text move according to the size of the form. I can get the text to resize horizontally using an anchor property. Lets say I have a label that is 3 lines high at 800x600 and if I rezise it to 1600x1200 lets say the text is one line high. is there a way I can move all the other links and labels up on the page to take up the space where those 2 other lines would have been? Just take the Microsoft .NET Framework 1.1 Configuration program and play with the resizing and you will see what I am trying to accomplish...if anyone could help me on this I would greatly appreciate it

Thanks, Nick
 
J

Jeffrey Tan[MSFT]

Hi Nick,

Based on my understanding, you want to resize the linklabel control on the
Windows Form.

I think the control's Anchor property should meet your need. If you set the
LinkLabel control's Anchor property to Top, Bottom, Left, Right. Then its
size will change with the size change of the container control. Both with
width and height change.

Please apply my suggestion above and let me know if it helps resolve your
problem.

Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
J

Jeffrey Tan[MSFT]

Hi nick,

Does my reply make sense to you? Is your problem resolved?

Please feel free to feedback. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top