vbAccelerator - Contents of code file: frmProgress.frmVERSION 5.00
Begin VB.Form frmProgress
BorderStyle = 3 'Fixed Dialog
Caption = "Progress"
ClientHeight = 1620
ClientLeft = 6855
ClientTop = 4710
ClientWidth = 5205
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmProgress.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1620
ScaleWidth = 5205
ShowInTaskbar = 0 'False
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "Cancel"
Height = 375
Left = 2040
TabIndex = 0
Top = 1140
Width = 1275
End
Begin VB.Label lblCaption
Alignment = 2 'Center
Caption = "Importing:"
Height = 255
Left = 60
TabIndex = 2
Top = 60
Width = 5055
End
Begin VB.Label lblInfo
Alignment = 2 'Center
Caption = "x"
Height = 615
Left = 60
TabIndex = 1
Top = 420
Width = 5055
End
End
Attribute VB_Name = "frmProgress"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private m_bShown As Boolean
Private m_sImport As String
Public Property Get Import() As String
Import = m_sImport
End Property
Public Property Let Import(ByVal sImport As String)
m_sImport = sImport
If (m_bShown) Then
lblInfo.Caption = m_sImport
End If
End Property
Public Property Get Shown() As Boolean
Shown = m_bShown
End Property
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub Form_Load()
m_bShown = True
Import = ""
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
m_bShown = False
End Sub
|
|