Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How has the resizing event been improved in Visual Basic .NET?

event resizing visual basic
0
Posted

How has the resizing event been improved in Visual Basic .NET?

0

Visual Basic 6.0 requires you to write custom code for the Resize event to make sure that controls are correctly displayed on the resized form. This makes it possible for any resizable application to retain the original placement of controls on the form regardless of the size of the form itself. In VB .NET you can accomplish the same result by working with the Docking and Anchoring properties of the controls in your forms. A control’s Anchor property can be modified so that it is dynamically positioned on screen. When a control is anchored to a form, and the form’s size changes, the control’s position on the form remains the same relative to the anchor position(s) it holds. The Docking property of a control allows it to adhere to the edge of the form or the container in which it resides.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123