What prevents control from changing LOCATION?

K

Kristijan Marin

Hi,

I have a usercontrol control that acts as a container inside which I have
userpanels ... that have picturebox controls inside

Upon zoom parameter the control inside container is resized or shrinked
...... so basicaly i resize/shrink the image

The problem occures only when i have the inside control bigger and the
scroll bars of container are showen ....

What happens is that when i want to set Location or Bounds parameter to the
center of my client rectangle
of the container so center it inside visible area of container ..... setting
this two parameters is some how
prevented or changed to so other values ..... The size is changed correctly
so it should fit inside container without scrollbars

I had AutoSize turned on and off .... no difference ....


Can anyone tell me what can prevent control from changing it's Location ??
OR even set it to some other value ?

Thanke you.
Kris
 

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