i have 1 control(that i build) with autosize porperty... build by me and works. i can change the size of control to container(picturebox or form) scalemode:
Code:
If blnAutoSize = True Then
        UserControl.Width = (lngImageWidth + IFF(BorderStyle = BorderFixed, 4, 0)) * Screen.TwipsPerPixelX
        UserControl.Height = (lngImageHeight + IFF(BorderStyle = BorderFixed, 4, 0)) * Screen.TwipsPerPixelY
end if
(i have some problems to express me)
ok.. now i have the control size to the container size, but if i need use the control size(in control project), it's a big problem. the values don't match
can anyone explain to me something about the scalemode size between control(in project) and it's container(when the control is used)?