home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form frmSplash
- BackColor = &H00C0C0C0&
- BorderStyle = 3 'Fixed Dialog
- ClientHeight = 360
- ClientLeft = 1035
- ClientTop = 1470
- ClientWidth = 5025
- ControlBox = 0 'False
- Height = 765
- Icon = "Frmspl.frx":0000
- Left = 975
- LinkTopic = "Form1"
- ScaleHeight = 360
- ScaleWidth = 5025
- ShowInTaskbar = 0 'False
- Top = 1125
- Width = 5145
- Begin VB.Label lblMessage
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- Caption = "Label1"
- Height = 195
- Left = 90
- TabIndex = 0
- Top = 90
- Width = 4785
- End
- Attribute VB_Name = "frmSplash"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- '*********************************************************************
- ' FRMSPL.FRM - This is just a splash form that is used to display
- ' messages to the user during long processes.
- '*********************************************************************
- Option Explicit
- '*********************************************************************
- ' Inialize the form.
- '*********************************************************************
- Private Sub Form_Load()
- BackColor = vb3DFace
- '*****************************************************************
- ' Set the mouse pointer, and put the window on top.
- '*****************************************************************
- Screen.MousePointer = vbHourglass
- AlwaysOnTop Me, True
- '*****************************************************************
- ' Reposition the label to the center of the form.
- '*****************************************************************
- lblMessage.Move (ScaleWidth - lblMessage.Width) / 2, _
- (ScaleHeight - lblMessage.Height) / 2
- Move (Screen.Width - Width) / 2, (Screen.Height - Height) / 2
- End Sub
- '*********************************************************************
- ' Restore the mouse pointer.
- '*********************************************************************
- Private Sub Form_Unload(Cancel As Integer)
- Screen.MousePointer = vbDefault
- End Sub
-