How to Automatically Resize Form Controls When Resizing a Form

K

Kevin Myers

Hello folks,

I am an experienced developer with other languages and applications, but a
neophyte when it comes to MS Access forms. Can someone please help get me
with a solution for the following issue: On a form, I have an object
(ImgEdit control from MS Imaging) that needs to automatically grow and
shrink when a user resizes the form. The object *does not* need to grow and
shrink based on the size of the image that is being displayed. Rather the
object needs to grow and shrink so that it occupies the maximum possible
screen real estate as the size of the form window is adjusted by the user.
Please note that there are also other controls on the form, all to the left
side of the ImgEdit object if it matters.

In some other languages that I have used, there are various ways of
"attaching" an edge of one object to the edge of another object, so that the
size of one object automatically adjusts based on the size of the other
object, and that is essentially the same functionality that I need here. I
feel certain that there must be some reasonably easy way to do this, and
could swear that I have seen this capability utilized in MS Access forms
developed by others. But I can't figure out how this is being done, and
can't seem to locate any relevant docs. Can someone please help me see the
light?

Thanks,
s/KAM
 

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