home *** CD-ROM | disk | FTP | other *** search
- 'This is a Global module for procedures and functions
- 'that need program-wide scope
-
- '-------------------------------------------------------
- 'Centers the passed form just above center on the screen
- '-------------------------------------------------------
- Sub CenterForm (x As Form)
-
- Screen.Mousepointer = 11 'hourglass
- x.Top = (Screen.Height * .85) / 2 - x.Height / 2
- x.Left = Screen.Width / 2 - x.Width / 2
- Screen.Mousepointer = 0 'default
-
- End Sub
-
-