-
Notifications
You must be signed in to change notification settings - Fork 0
/
frmPasswordWOConfirm.frm
79 lines (71 loc) · 1.97 KB
/
frmPasswordWOConfirm.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
68
69
70
71
72
73
74
75
76
77
78
VERSION 5.00
Begin VB.Form frmPasswordWOConfirm
BorderStyle = 3 'Fixed Dialog
Caption = "Dialog Caption"
ClientHeight = 1110
ClientLeft = 2760
ClientTop = 3750
ClientWidth = 3750
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1110
ScaleWidth = 3750
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.TextBox txtPassword
Height = 285
IMEMode = 3 'DISABLE
Index = 0
Left = 120
PasswordChar = "*"
TabIndex = 1
Top = 600
Width = 2175
End
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "Cancel"
Height = 375
Left = 2400
TabIndex = 3
Top = 600
Width = 1215
End
Begin VB.CommandButton cmdOK
Caption = "OK"
Default = -1 'True
Height = 375
Left = 2400
TabIndex = 2
Top = 120
Width = 1215
End
Begin VB.Label lblPassword
Caption = "Enter password :"
Height = 255
Index = 0
Left = 120
TabIndex = 0
Top = 240
Width = 2175
End
End
Attribute VB_Name = "frmPasswordWOConfirm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public booCancel As Boolean
Public strPassword As String
Private Sub cmdCancel_Click()
booCancel = True
strPassword = ""
frmPasswordWOConfirm.Hide
End Sub
Private Sub cmdOK_Click()
booCancel = False
strPassword = txtPassword(0).Text
frmPasswordWOConfirm.Hide
End Sub