What layout are you using? What's a form? Better yet: post an SSCCE (not your whole program) demonstrating what's going on, so we can play with it ourselves.