OnResize event for Access Window?

  • Thread starter Thread starter roger
  • Start date Start date
R

roger

I have an App that is mainly one form.

On Access launch we open the form and maximize it within the Access window.
The form has an on_resize event proc that moves controls around depending on
the form's size. If the user resizes the Access window the form's On-resize
event fires. That works.

Now I want to add a second form, a sidebar-like-thingy.

I can easily set both forms' borders to "none" (and remove their title bars)
and then in VB I can movesize them to be full screen side-by-side as though
they were one maximized form. However, now if the user resizes the Access
Window, I will need to reposition both forms.

How? The forms themselves have not been resized so the On-resize events of
the forms won't fire.

Is there an On_resize event for the entire Access window? Can I make one?

AHA TIA
roger
 
On Mon, 25 Jan 2010 11:41:01 -0800, roger

One trick you could perhaps employ is to have a maximized background
window. Then have your two windows as Popup windows floating above it.
The maximized window will receive the resize event and can then adjust
the popups' size and location.

-Tom.
Microsoft Access MVP
 
Back
Top