width of a form

  • Thread starter Thread starter giannis
  • Start date Start date
G

giannis

I use the property width for a form

Forms!form1.width=<a number>
Forms!form1.Repaint

but the form's width dont changed .
How can change the width of a form
in real time ?
 
Yes, it does if the number is a reasonable number in Twips. But the problem
is that the "MDI" widow that contain the Form won't change.

Rather than set the width of the Form, use the MoveSize Method to change the
width of the "MDI" window of the Form.

Check Access VB Help on the MoveSize Method.
 
Back
Top