shawn, correct me if I'm wrong, but the problem seems not to be (what I see looking your script) resizing the form but moving or resizing objects in it.
?
_________________________
!

download KiXnet