How can i stop a form being made smaller that a size X, Y, i thought this would be possible by using the resize function however it does not seem to actually override the inbuilt function, so the result is i cannot stop the form being made smaller!!

i would be vary greatfull if somone could point me in the right direction.