Resize

A

antonov

Hello everybody, I need to resize a form which I've minimized. In accesses'
help I find "docmd.Resize" but the problem is that it doesn't say how to
select the exact form I need to resize.... how can I do that?

thanks
 
R

Rick Brandt

antonov said:
Hello everybody, I need to resize a form which I've minimized. In
accesses' help I find "docmd.Resize" but the problem is that it
doesn't say how to select the exact form I need to resize.... how can
I do that?
thanks

Do you want to *restore* it meaning make it NOT be minimized? That is not the
same as resizing it. If so just use DoCmd.OpenForm "FormName". That will
restore a minimized open form.
 
V

Van T. Dinh

If you meant restoring a Minimized Form which is not the current Active Data
Object, you need to select the object then restore it like:

DoCmd.SelectObject acForm, "YourMiniMizedForm"
DoCmd.Restore

If you want to resize after restoring, you can use the Resize method of the
DoCmd object.
 

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

Top