Hi Sal, You can call this bug in one way. However the work around is pretty
simple and straight forward.
1. Set the form’s grid size to some EVEN number. (Ex: 2,2 or 4,4 or 8,8)
2. Set the height of the Label and the textbox to EVEN numbers value as
well. (By default Visual Studio sets the size of a label to 100,23 and the
size of the text box to 100,20.)
That all you will need to do. You are good to go!!
Needless to explain, you must have understood the core of the issue now.
BTW, If you don’t want to change the size if the components, do a select all
and move them around by drag and drop. (USE THE MOUSE, DON’T USE THE ARROW
BUTTONS)
-KISHORE BABU TANETY
> Hi,
>
[quoted text clipped - 19 lines]
> Sal B.
> Witness Protection Program ID#19730127
Sal Bompensaro - 24 Sep 2004 16:01 GMT
> Hi Sal, You can call this bug in one way. However the work around is pretty
> simple and straight forward.
[quoted text clipped - 3 lines]
> size of the text box to 100,20.)
> That all you will need to do. You are good to go!!
I can't seem to make your solution work. Consider:
- Create a new WinForms project. The default size of the form is 300x300
[even numbers].
- Drag a label on to the form. Set it's height to 16. Set it's TextAlign
property to BottomRight.
- Drag a text box on the form and place it to the right of the label.
- Holding the control key, select first the TextBox and then the Label.
Select Format | Align | Bottoms. The two controls are now aligned properly.
- Select both controls and drag them with the mouse down a few inches.
The controls are no longer aligned properly... That's basically my problem.
Sal
kishore babu tanety - 27 Sep 2004 06:05 GMT
Ooops, I think you miss read my sentance. Or may be i should have framed my
sentance better.
I was not mentioning the size of the frame, but I was mentioning the
Gridsize. I have checked it again and it works Sal.
> > Hi Sal, You can call this bug in one way. However the work around is
> pretty
[quoted text clipped - 23 lines]
>
> Sal
Sal Bompensaro - 27 Sep 2004 21:53 GMT
> Ooops, I think you miss read my sentance.
Yes, I did. Sorry about that... thanks for the help.