textbox size change!
-
I have a form when I resize the form the size of two text box in it change ,but I don't want it(the others do not change) thanks Mazy You can find a solution (even a foolish one) for all problems (even big ones)
Look at the Anchor property on the two textboxes. When a form is resized it will resize so that those edges (specified by the Anchor property) are always the same distance from the edge of the container. HTH, James Sonork ID: 100.11138 - Hasaki "Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. :-D" - Michael P Butler Jan. 18, 2002
-
Look at the Anchor property on the two textboxes. When a form is resized it will resize so that those edges (specified by the Anchor property) are always the same distance from the edge of the container. HTH, James Sonork ID: 100.11138 - Hasaki "Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. :-D" - Michael P Butler Jan. 18, 2002
-
I examine different Anchors for these "Multiline TextBoxes" but each time they move or resize wrong and hide other controls in the form. Mazy You can find a solution (even a foolish one) for all problems (even big ones)
To keep a control from moving, the Anchor property should be set to (AnchorStyles.Top | AnchorStyles.Left) This will ensure that the control remains the same distance from the left and from the top. HTH, James Sonork ID: 100.11138 - Hasaki "Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. :-D" - Michael P Butler Jan. 18, 2002
-
To keep a control from moving, the Anchor property should be set to (AnchorStyles.Top | AnchorStyles.Left) This will ensure that the control remains the same distance from the left and from the top. HTH, James Sonork ID: 100.11138 - Hasaki "Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. :-D" - Michael P Butler Jan. 18, 2002