I have a 1 pixel wide WebImageView placed near the right side of a WebContainer. I have the WebImageView, WebContainer, and instance of the container in a WebForm all set with all sides locked. I have confirmed that all locks are working as expected.
When first opened the WebImageView is invisible. When a WebListBox cell of thumbs is clicked I am setting the WebImageView to visible, setting it’s width to the value of it’s left side, putting the full size picture into the WebImageView, then in a timer animating a move to set the left side to 0…
LIstBox cell Clicked:
PatientImageViewer.left = lbPatientThumbs.left
PatientImageViewer.Picture = ResizeToFit(PatientPicture,PatientImageViewer.Width,PatientImageViewer.Height)
me.Mode = Timer.ModeOff
Animator1.move(PatientImageViewer, 0, 0, 0.5)
This has the affect of the selected thumb’s full size picture sliding out from under the thumbs listbox.
After the animation has completed the right side of the PatientImageViewer remains set to locked, but no longer works. It does not resize with the web page. All the other sides, left/top/bottom, remain locked and working.
Is this expected behaviour? Anything I can do to keep the left side lock enforced.