-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathfrmLoad.frm
67 lines (63 loc) · 1.75 KB
/
frmLoad.frm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
VERSION 5.00
Begin VB.Form frmLoad
BackColor = &H00000000&
BorderStyle = 0 'None
Caption = "Loading ..."
ClientHeight = 4350
ClientLeft = 0
ClientTop = 0
ClientWidth = 3900
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
MousePointer = 11 'Hourglass
Picture = "frmLoad.frx":0000
ScaleHeight = 4350
ScaleWidth = 3900
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.Label lblCaption
Alignment = 1 'Right Justify
BackColor = &H00000000&
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 255
Left = 1320
MousePointer = 11 'Hourglass
TabIndex = 0
Top = 3900
Width = 2355
End
End
Attribute VB_Name = "frmLoad"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Option Base 0
Private Sub Form_Load()
Dim nLng As Long
On Error Resume Next
nLng = Val(ReadINI("Settings", "Top", , 0))
If nLng <> 0 Then
Me.Top = nLng
Else
Me.Top = (Screen.Height - Me.Height) / 2
End If
nLng = Val(ReadINI("Settings", "Left", , 0))
If nLng <> 0 Then
Me.Left = nLng
Else
Me.Left = (Screen.Width - Me.Width) / 2
End If
End Sub