In higher resolution devices , height of fgtextbox increases , if we compile with auto scale . Without auto scale compile for size looks very small . Without fg textbox I can not restrict the textbox content to numeric only and string length . (Problem occured in HP IPAQ 211 . Screen resolution is 480 x 640 ) . What is the solution ?