-
Notifications
You must be signed in to change notification settings - Fork 1
/
Yazi.pag
154 lines (146 loc) · 4.35 KB
/
Yazi.pag
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
VERSION 5.00
Begin VB.PropertyPage Yazi
Caption = "Yazi"
ClientHeight = 3495
ClientLeft = 0
ClientTop = 0
ClientWidth = 5925
PaletteMode = 0 'Halftone
ScaleHeight = 3495
ScaleWidth = 5925
Begin VB.ComboBox cmbGiris
Height = 315
ItemData = "Yazi.pgx":0000
Left = 3000
List = "Yazi.pgx":0013
Style = 2 'Dropdown List
TabIndex = 11
Top = 1400
Width = 1455
End
Begin VB.Frame Frame1
Caption = "Yaslama"
Height = 735
Left = 3000
TabIndex = 6
Top = 120
Width = 2775
Begin VB.OptionButton optAlignment
Caption = "Orta"
Height = 375
Index = 2
Left = 1800
TabIndex = 9
Top = 240
Width = 615
End
Begin VB.OptionButton optAlignment
Caption = "Sað"
Height = 375
Index = 1
Left = 960
TabIndex = 8
Top = 240
Width = 615
End
Begin VB.OptionButton optAlignment
Caption = "Sol"
Height = 375
Index = 0
Left = 120
TabIndex = 7
Top = 240
Width = 615
End
End
Begin VB.TextBox txtMetin
Height = 330
Left = 120
TabIndex = 5
Top = 375
Width = 2700
End
Begin VB.TextBox txtMaxLength
Height = 330
Left = 120
TabIndex = 3
Top = 1785
Width = 2700
End
Begin VB.TextBox txtPasswordChar
Height = 330
Left = 120
TabIndex = 1
Top = 1140
Width = 2700
End
Begin VB.Label lblGiris
Caption = "Giriþ kýtlamasý"
Height = 255
Left = 3000
TabIndex = 10
Top = 1080
Width = 1455
End
Begin VB.Label lblMetin
Caption = "Metin:"
Height = 240
Left = 120
TabIndex = 4
Top = 120
Width = 2700
End
Begin VB.Label lblMaxLength
Caption = "MaxLength:"
Height = 240
Left = 120
TabIndex = 2
Top = 1545
Width = 2700
End
Begin VB.Label lblPasswordChar
Caption = "PasswordChar:"
Height = 240
Left = 120
TabIndex = 0
Top = 885
Width = 2700
End
End
Attribute VB_Name = "Yazi"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Dim i_Alignment As Byte
'
Private Sub cmbGiris_Click()
Changed = True
End Sub
Private Sub optAlignment_Click(Index As Integer)
Changed = True
i_Alignment = Index
End Sub
Private Sub txtMetin_Change()
Changed = True
End Sub
Private Sub txtMaxLength_Change()
Changed = True
End Sub
Private Sub txtPasswordChar_Change()
Changed = True
End Sub
Private Sub PropertyPage_ApplyChanges()
SelectedControls(0).Metin = txtMetin.Text
SelectedControls(0).MaxLength = txtMaxLength.Text
SelectedControls(0).PasswordChar = txtPasswordChar.Text
SelectedControls(0).Alignment = i_Alignment
SelectedControls(0).Giris = cmbGiris.ListIndex
End Sub
Private Sub PropertyPage_SelectionChanged()
txtMetin.Text = SelectedControls(0).Metin
txtMaxLength.Text = SelectedControls(0).MaxLength
txtPasswordChar.Text = SelectedControls(0).PasswordChar
optAlignment(SelectedControls(0).Alignment).Value = True
cmbGiris.ListIndex = SelectedControls(0).Giris
End Sub