-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfrmScreenSize.frm
More file actions
87 lines (83 loc) · 2.42 KB
/
frmScreenSize.frm
File metadata and controls
87 lines (83 loc) · 2.42 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
VERSION 5.00
Begin VB.Form frmScreenSize
BorderStyle = 3 'Fixed Dialog
Caption = "Screen Size"
ClientHeight = 1575
ClientLeft = 45
ClientTop = 330
ClientWidth = 1935
Icon = "frmScreenSize.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1575
ScaleWidth = 1935
ShowInTaskbar = 0 'False
StartUpPosition = 1 'CenterOwner
Begin VB.CommandButton cmdCancel
Caption = "Cancel"
Height = 375
Left = 1080
TabIndex = 4
Top = 1080
Width = 735
End
Begin VB.CommandButton cmdOK
Caption = "OK"
Default = -1 'True
Height = 375
Left = 120
TabIndex = 3
Top = 1080
Width = 735
End
Begin VB.TextBox txtRow
Height = 285
Left = 960
TabIndex = 1
Top = 480
Width = 735
End
Begin VB.TextBox txtCol
Height = 285
Left = 960
TabIndex = 0
Top = 120
Width = 735
End
Begin VB.Label Label2
Caption = "Rows:"
Height = 255
Left = 240
TabIndex = 5
Top = 480
Width = 735
End
Begin VB.Label Label1
Caption = "Colums:"
Height = 255
Left = 240
TabIndex = 2
Top = 120
Width = 735
End
End
Attribute VB_Name = "frmScreenSize"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdOK_Click()
SaveSetting "ASNIExpress", "Settings", "xScreenSize", txtCol.Text
SaveSetting "ASNIExpress", "Settings", "yScreenSize", txtRow.Text
frmMain.xScreenSize = txtCol.Text
frmMain.yScreenSize = txtRow.Text
Unload Me
End Sub
Private Sub Form_Load()
txtCol.Text = frmMain.xScreenSize
txtRow.Text = frmMain.yScreenSize
End Sub