Private Sub Form_Resize()

Y

yael

Private Sub Form_Resize()
Hi,
How can I resize the controls in the detail part of a form?
Me.Width ?
Detail.Height ?

control.Width += Me.Width new - Me.Width old???
 
M

Marshall Barton

yael said:
Private Sub Form_Resize()
Hi,
How can I resize the controls in the detail part of a form?
Me.Width ?
Detail.Height ?

control.Width += Me.Width new - Me.Width old???


Controls do not resize when a user resizes their form.

You can set a control's Width, Height, etc. as long as the
new setting does not exceed the section boundaries.

How are you trying to determine the new width?

The form's InsideWidth and InsideHeight properties provide
the form's current size.

I really can't be very specific without more details about
what effect you want to achieve.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Form resize event 4
subform resize??? 4
Centering form controls 5
On Resize 4
Form_Resize & Minimize 1
dynamicaly adjust the report width 0
get my monitor width 1
re-post border on userforms 8

Top