Help finding info to put a box around a maximized form

Dudley

Registered User.
Local time
Yesterday, 16:25
Joined
Apr 7, 2004
Messages
147
Hi Folks,
I'm sorry to bother you but I'm trying to learn how to put a box around a maximized form - so it needs to scale to the size of the Access Window - and I'm utterly failing to phrase my search query to be useful. Could someone please point me in the right direction?

I'm trying to do something like:

me!box.width = screen-72
me!box.height = screen - 72

Thanks for moving me in the right direction!!!
-Dudley
 
try:
Code:
Private Sub Form_Resize()
    box.Left = 0 '
    box.Top = 0  'just to make sure
    
    box.Width = Me.InsideWidth
    box.Height = Me.InsideHeight
End Sub
 
Thank you Thank you Thank you Thank you Thank you !!!!!
 

Users who are viewing this thread

Back
Top Bottom