| Auto-resize textbox to form resized by user Description:When you expand or rezise a form you may want the text box to do the same. Here's how to do it. In the form_resize event you have to put the code whixh will expand (or shrink) your textbox. Sub Form1_Resize() 'you cannot do this when you minimize the form! If Form1.WindowState=1 then Exit Sub 'Move left, top, width, height Text1.Move 50,50,form1.width -50,form1.height-250 End Sub Perhaps you have to change the values for your needs.. But this is the way to go |
Auto-resize textbox |
Freelance ASP PHP web development | Web developer India Web development India| Prayagasoft - web designer India, Ecommerce developer india, Ecommerce design