Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub Form_Resize()
'[s]Me.Width = Me.WindowWidth[/s]
Call MOvetoCenter(Forms.menu_new, Me.InsideWidth, Me.Line5.Width)
End Sub
Private gStartingWidth As Long
Private Sub Form_Open(Cancel As Integer)
gStartingWidth = Me.Width
DoCmd.Maximize
End Sub
Private Sub Form_Resize()
RePositionControls Me.InsideWidth
gStartingWidth = Me.InsideWidth
End Sub
Sub RePositionControls(NewWidth As Long)
On Error Resume Next
Dim ctlCurrent As Control
For Each ctlCurrent In Me.Controls
ctlCurrent.Left = ctlCurrent.Left + ((NewWidth - gStartingWidth) \ 2)
Next ctlCurrent
End Sub