-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMenu.frm
More file actions
301 lines (279 loc) · 8.71 KB
/
Menu.frm
File metadata and controls
301 lines (279 loc) · 8.71 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
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
VERSION 5.00
Object = "{00025600-0000-0000-C000-000000000046}#5.2#0"; "Crystl32.OCX"
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "COMCTL32.OCX"
Begin VB.Form Menu
BackColor = &H00FFC0C0&
Caption = "Menu Utama Aplikasi Persediaan Barang"
ClientHeight = 3090
ClientLeft = 195
ClientTop = 765
ClientWidth = 5250
BeginProperty Font
Name = "Century"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
Picture = "Menu.frx":0000
ScaleHeight = 3090
ScaleWidth = 5250
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin Crystal.CrystalReport CR
Left = 1920
Top = 1200
_ExtentX = 741
_ExtentY = 741
_Version = 348160
PrintFileLinesPerPage= 60
End
Begin ComctlLib.StatusBar STBar
Align = 2 'Align Bottom
Height = 495
Left = 0
TabIndex = 0
Top = 2595
Width = 5250
_ExtentX = 9260
_ExtentY = 873
SimpleText = ""
_Version = 327682
BeginProperty Panels {0713E89E-850A-101B-AFC0-4210102A8DA7}
NumPanels = 3
BeginProperty Panel1 {0713E89F-850A-101B-AFC0-4210102A8DA7}
Object.Visible = 0 'False
Key = ""
Object.Tag = ""
EndProperty
BeginProperty Panel2 {0713E89F-850A-101B-AFC0-4210102A8DA7}
TextSave = ""
Key = ""
Object.Tag = ""
EndProperty
BeginProperty Panel3 {0713E89F-850A-101B-AFC0-4210102A8DA7}
TextSave = ""
Key = ""
Object.Tag = ""
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Century Gothic"
Size = 6.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin ComctlLib.ImageList ImageList1
Left = 1920
Top = 480
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 327682
BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7}
NumListImages = 10
BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "Menu.frx":2A8D0
Key = ""
EndProperty
BeginProperty ListImage2 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "Menu.frx":2AAAA
Key = ""
EndProperty
BeginProperty ListImage3 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "Menu.frx":2B2C4
Key = ""
EndProperty
BeginProperty ListImage4 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "Menu.frx":2B5DE
Key = ""
EndProperty
BeginProperty ListImage5 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "Menu.frx":2B8F8
Key = ""
EndProperty
BeginProperty ListImage6 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "Menu.frx":2BC12
Key = ""
EndProperty
BeginProperty ListImage7 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "Menu.frx":2BDEC
Key = ""
EndProperty
BeginProperty ListImage8 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "Menu.frx":2C606
Key = ""
EndProperty
BeginProperty ListImage9 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "Menu.frx":2CE20
Key = ""
EndProperty
BeginProperty ListImage10 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "Menu.frx":2D63A
Key = ""
EndProperty
EndProperty
End
Begin VB.Menu mnfile
Caption = "File"
Begin VB.Menu mnbarang
Caption = "Barang"
End
Begin VB.Menu mnpemakai
Caption = "Pemakai"
End
Begin VB.Menu mnsupplier
Caption = "Supplier"
End
Begin VB.Menu mncustomer
Caption = "Customer"
End
End
Begin VB.Menu mntransaksi
Caption = "Transaksi"
Begin VB.Menu mnpermintaan
Caption = "Cek Stok Barang Di Gudang"
End
Begin VB.Menu mnterima
Caption = "Penerimaan Barang Dari Supplier"
End
Begin VB.Menu mnmintadariuser
Caption = "Permintaan Barang Dari User"
End
Begin VB.Menu mnpengeluaran
Caption = "Pengeluaran Barang Untuk User"
End
End
Begin VB.Menu mnlaporan
Caption = "Laporan"
Begin VB.Menu mnlapmaster
Caption = "Laporan Data Master"
Begin VB.Menu mnlapbarang
Caption = "Master Barang"
End
Begin VB.Menu mnlapsupplier
Caption = "Master Supplier"
End
Begin VB.Menu mnlapcustomer
Caption = "Master Customer"
End
Begin VB.Menu mnlappemakai
Caption = "Master Pemakai"
End
End
Begin VB.Menu mnlaptransaksi
Caption = "Laporan Transaksi"
End
Begin VB.Menu mnlapperfaktur
Caption = "Rincian Transaksi"
End
Begin VB.Menu mnlapstok
Caption = "Rincian Stok Barang Per tanggal"
End
End
Begin VB.Menu mnkeluar
Caption = "Keluar"
Begin VB.Menu mnlogout
Caption = "Log Out"
End
Begin VB.Menu mntutup
Caption = "Tutup Aplikasi"
End
End
End
Attribute VB_Name = "Menu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_KeyPress(Keyascii As Integer)
If Keyascii = 27 Then End
End Sub
Private Sub mnbarang_Click()
Barang.Show vbModal
End Sub
Private Sub mncustomer_Click()
Customer.Show vbModal
End Sub
Private Sub mndepartemen_Click()
Departemen.Show vbModal
End Sub
Private Sub mnlapbarang_Click()
CR.ReportFileName = App.Path & "\lap barang.rpt"
CR.WindowState = crptMaximized
CR.RetrieveDataFiles
CR.Action = 1
End Sub
Private Sub mnlapcustomer_Click()
CR.ReportFileName = App.Path & "\lap customer.rpt"
CR.WindowState = crptMaximized
CR.RetrieveDataFiles
CR.Action = 1
End Sub
Private Sub mnlappemakai_Click()
CR.ReportFileName = App.Path & "\lap pemakai.rpt"
CR.WindowState = crptMaximized
CR.RetrieveDataFiles
CR.Action = 1
End Sub
Private Sub mnlapperfaktur_Click()
RincianTransaksi.Show vbModal
End Sub
Private Sub mnlapstok_Click()
RincianStok.Show vbModal
End Sub
Private Sub mnlapsupplier_Click()
CR.ReportFileName = App.Path & "\lap supplier.rpt"
CR.WindowState = crptMaximized
CR.RetrieveDataFiles
CR.Action = 1
End Sub
Private Sub mnlaptransaksi_Click()
LapTransaksi.Show vbModal
End Sub
Private Sub mnlogout_Click()
Menu.STBar.Panels(1).Text = ""
Menu.STBar.Panels(2).Text = ""
Menu.STBar.Panels(3).Text = ""
Login.Show
Login.TxtKodePmk = ""
Login.TxtNamaPmk = ""
Login.TxtPasswordPmk = ""
Login.TxtNamaPmk.SetFocus
End Sub
Private Sub mnmintadariuser_Click()
PermintaanUser.Show
End Sub
Private Sub mnpemakai_Click()
Pemakai.Show vbModal
End Sub
Private Sub mnpengeluaran_Click()
PengeluaranBarang.Show vbModal
End Sub
Private Sub mnpermintaan_Click()
'PermintaanDariGudang.Show vbModal
CekStokMinimum.Show vbModal
End Sub
Private Sub mnsupplier_Click()
Supplier.Show vbModal
End Sub
Private Sub mnterima_Click()
Penerimaan.Show vbModal
End Sub
Private Sub mntutup_Click()
Pesan = MsgBox("yakin akan keluar", vbYesNo)
If Pesan = vbYes Then End
End Sub
Private Sub mnujisql_Click()
UjiSQL.Show vbModal
End Sub