Visual Studio 2003 Designer

P

pascal

Hi,

I have created some complex form design using Visual Studio 2003 in a
C# Windows Form Project. On the form I have aligned the controls using
pixel precision.
After that I save and then reopened the form, now the controls are not
in the same position.
Is the Designer not able to save the form corectly?
I've even tried to lock the controls, but the problem remains the same.
How can I fix this?

Thanks,
Diablo
 
R

Rajagopal Pasupuleti

I used a bunch of buttons at different pixel positions and don't have
any problem getting same locations on form after saving/closing and
opening again.
what controls you used on your forms?
 
P

pascal

I use a groupbox containing 3 buttons, 2 comboboxes and 2 textboxes. I
have arranged all the controls inside the groupbox.
After reopening the form the controls are shifted from their original
position with 4 or 5 pixels.
 
D

Doug Forster

Hi,

Are you using inherited forms? Are your controls anchored ? The forms
designer is very buggy in this department. You can work around some layouts
by putting base class controls on one or more panels and then docking the
panels if this suits your UI design.

Cheers

Doug Forster
 

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