Controls are shifted back without me doing anything

Hi,

I've got a tablelayout and a couple of controls anchored inside.
In particular, I have a label anchored top-left, and 3 combo boxes Docked to 'Fill'.

Now, whenever I run/debug my program it looks good, but after finish the debug session (close it down) and C# Express returns to the Form Design window, all of these aforementioned controls get un-anchored and undocked every time!

You can actually see the designer flickering and repainting and then undocking my controls. Gee, thanks ;-)

So I have to go back to this particular label and 3 combo boxes and re-anchor and re-dock them every time! Needless to say, this is mildly frustrating ;-)

It's hard to believe that this could be by design, or could it


Answer this question

Controls are shifted back without me doing anything

  • Zenaku213

    Surprisingly, locking the controls doesn't make any difference!

    Although, actually it's stopped my combo boxes from getting undocked. But the label in question, is definitely locked, but it still gets automatically unanchored while I watch.

    I better log this as a bug.

  • Numan azam

    Not sure what would cause that behavior. Sounds like it could be a bug.

    Have you tried locking the controls Right-click on the form and choose Lock, and it should keep the controls from being moved.

    Hope this helps,
    the V-Bee

  • Controls are shifted back without me doing anything