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
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