-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFormPengaturan.frm
1205 lines (1193 loc) · 49.2 KB
/
FormPengaturan.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
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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
VERSION 5.00
Object = "{02353968-C1C9-4E0A-88D3-18759BDC60FE}#1.0#0"; "AeroSuite.ocx"
Object = "{5DC43A6F-8B43-4A60-A977-95A8CDDD093A}#1.0#0"; "dcButton.ocx"
Object = "{62E1564C-1E05-44A7-A921-FD8347F324A5}#1.0#0"; "HookMenu.ocx"
Object = "{A30DC858-670B-4336-A74E-10C38ADF5ADD}#1.0#0"; "xTab.ocx"
Object = "{BDF6FCF6-E2A0-4DA6-8DF8-FA27594705C8}#26.1#0"; "XPControls.ocx"
Object = "{530871E2-C21C-4628-9427-E2C09620063B}#1.0#0"; "XP_Engine.ocx"
Begin VB.Form FormPengaturan
BackColor = &H00E0E0E0&
BorderStyle = 1 'Fixed Single
Caption = "Pengaturan"
ClientHeight = 4560
ClientLeft = 45
ClientTop = 435
ClientWidth = 5415
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "FormPengaturan.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4560
ScaleWidth = 5415
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin prjXTab.XTab XTab1
Height = 3975
Left = 0
TabIndex = 2
Top = 0
Width = 5415
_ExtentX = 9551
_ExtentY = 7011
TabCaption(0) = "Umum"
TabContCtrlCnt(0)= 1
Tab(0)ContCtrlCap(1)= "XPFrame2"
TabCaption(1) = "System"
TabContCtrlCnt(1)= 1
Tab(1)ContCtrlCap(1)= "XPFrame1"
TabCaption(2) = "Penampilan"
TabContCtrlCnt(2)= 1
Tab(2)ContCtrlCap(1)= "XPFrame3"
ActiveTab = 2
TabTheme = 1
ActiveTabBackStartColor= 16777215
ActiveTabBackEndColor= -2147483626
InActiveTabBackStartColor= 16777215
InActiveTabBackEndColor= 15397104
BeginProperty ActiveTabFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty InActiveTabFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
OuterBorderColor= 10198161
DisabledTabBackColor= -2147483633
DisabledTabForeColor= 10526880
Begin XPControls.XPFrame XPFrame3
Height = 3375
Left = 120
TabIndex = 30
Top = 480
Width = 5175
_ExtentX = 9128
_ExtentY = 5953
BackColor = 14737632
Caption = ""
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Begin VB.ComboBox cmbWarnaTampilan
Height = 390
Left = 2280
Style = 2 'Dropdown List
TabIndex = 34
Top = 600
Width = 2775
End
Begin VB.ComboBox cmbTemaTampilan
Height = 390
Left = 2280
Style = 2 'Dropdown List
TabIndex = 31
Top = 120
Width = 2775
End
Begin AeroSuite.AeroCheckBox cekAlwaysOnTop
Height = 255
Left = 120
TabIndex = 37
Top = 1200
Width = 4935
_ExtentX = 8705
_ExtentY = 450
Align = 0
Caption = "Tampilan aplikasi selalu berada diatas"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ShowFocusRect = -1 'True
BackColor = 14737632
ForeColor = 0
MousePointer = 0
MouseIcon = "FormPengaturan.frx":0442
Value = 0
End
Begin VB.Label Label14
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = ":"
Height = 270
Left = 2160
TabIndex = 36
Top = 600
Width = 45
End
Begin VB.Label Label13
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Warna"
Height = 270
Left = 120
TabIndex = 35
Top = 600
Width = 555
End
Begin VB.Label Label11
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = ":"
Height = 270
Left = 2160
TabIndex = 33
Top = 120
Width = 45
End
Begin VB.Label Label12
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Tema"
Height = 270
Left = 120
TabIndex = 32
Top = 120
Width = 465
End
End
Begin XPControls.XPFrame XPFrame2
Height = 3375
Left = -74880
TabIndex = 16
Top = 480
Width = 5175
_ExtentX = 9128
_ExtentY = 5953
BackColor = 14737632
Caption = ""
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Begin AeroSuite.AeroCheckBox cekAutoRefresh
Height = 255
Left = 240
TabIndex = 17
Top = 720
Width = 4215
_ExtentX = 7435
_ExtentY = 450
Align = 0
Caption = "Auto Refresh"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ShowFocusRect = -1 'True
BackColor = 14737632
ForeColor = 0
MousePointer = 0
MouseIcon = "FormPengaturan.frx":045E
Value = 1
End
Begin AeroSuite.AeroCheckBox cekGarisGrid
Height = 255
Left = 240
TabIndex = 18
Top = 360
Width = 4215
_ExtentX = 7435
_ExtentY = 450
Align = 0
Caption = "Garis Grid"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ShowFocusRect = -1 'True
BackColor = 14737632
ForeColor = 0
MousePointer = 0
MouseIcon = "FormPengaturan.frx":047A
Value = 1
End
Begin AeroSuite.AeroCheckBox cekTampilkanPesanSimpan
Height = 255
Left = 240
TabIndex = 19
Top = 1440
Width = 4215
_ExtentX = 7435
_ExtentY = 450
Align = 0
Caption = "Tampilkan Pesan saat menyimpan data"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ShowFocusRect = -1 'True
BackColor = 14737632
ForeColor = 0
MousePointer = 0
MouseIcon = "FormPengaturan.frx":0496
Value = 1
End
Begin AeroSuite.AeroCheckBox cekKosongkanInput
Height = 255
Left = 240
TabIndex = 20
Top = 1800
Width = 4215
_ExtentX = 7435
_ExtentY = 450
Align = 0
Caption = "Kosongkan input saat berhasil menyimpan"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ShowFocusRect = -1 'True
BackColor = 14737632
ForeColor = 0
MousePointer = 0
MouseIcon = "FormPengaturan.frx":04B2
Value = 1
End
Begin AeroSuite.AeroCheckBox cekPesanKonfirmasi
Height = 255
Left = 240
TabIndex = 21
Top = 1080
Width = 4215
_ExtentX = 7435
_ExtentY = 450
Align = 0
Caption = "Konfirmasi Saat data akan disimpan"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ShowFocusRect = -1 'True
BackColor = 14737632
ForeColor = 0
MousePointer = 0
MouseIcon = "FormPengaturan.frx":04CE
Value = 1
End
Begin AeroSuite.AeroCheckBox CekTutupForm
Height = 255
Left = 240
TabIndex = 22
Top = 2160
Width = 4815
_ExtentX = 8493
_ExtentY = 450
Align = 0
Caption = "Tutup jendela saat data berhasil disimpan"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ShowFocusRect = -1 'True
BackColor = 14737632
ForeColor = 0
MousePointer = 0
MouseIcon = "FormPengaturan.frx":04EA
Value = 0
End
Begin AeroSuite.AeroCheckBox cekKunciTabel
Height = 255
Left = 240
TabIndex = 23
Top = 2520
Width = 4215
_ExtentX = 7435
_ExtentY = 450
Align = 0
Caption = "Kunci Tabel"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ShowFocusRect = -1 'True
BackColor = 14737632
ForeColor = 0
MousePointer = 0
MouseIcon = "FormPengaturan.frx":0506
Value = 1
End
Begin AeroSuite.AeroCheckBox cekRiwayatAktivitas
Height = 255
Left = 240
TabIndex = 29
Top = 2880
Width = 3255
_ExtentX = 5741
_ExtentY = 450
Align = 0
Caption = "Catat Aktivitas Pengguna"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ShowFocusRect = -1 'True
BackColor = 14737632
ForeColor = 0
MousePointer = 0
MouseIcon = "FormPengaturan.frx":0522
Value = 1
End
End
Begin XPControls.XPFrame XPFrame1
Height = 3375
Left = -74880
TabIndex = 3
Top = 480
Width = 5175
_ExtentX = 9128
_ExtentY = 5953
BackColor = 14737632
Caption = ""
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Begin VB.ComboBox cmbHasilPencarian
Height = 390
Left = 2280
Style = 2 'Dropdown List
TabIndex = 24
Top = 2160
Width = 2775
End
Begin VB.ComboBox CmbDefaultTampilkanData
Height = 390
Left = 2280
Style = 2 'Dropdown List
TabIndex = 7
Top = 720
Width = 2775
End
Begin VB.ComboBox cmbReferensiExcel
Height = 390
Left = 2280
Style = 2 'Dropdown List
TabIndex = 6
Top = 1680
Width = 2775
End
Begin VB.ComboBox cmbDefaultFormat
Height = 390
Left = 2280
Style = 2 'Dropdown List
TabIndex = 5
Top = 1200
Width = 2775
End
Begin VB.ComboBox cmbBahasa
Height = 390
Left = 2280
Style = 2 'Dropdown List
TabIndex = 4
Top = 240
Width = 2175
End
Begin AeroSuite.AeroCheckBox CekTutupFormCAri
Height = 735
Left = 2280
TabIndex = 27
Top = 2340
Width = 2775
_ExtentX = 4895
_ExtentY = 1296
Align = 0
Caption = "Tutup Pencarian Saat Data Ditemukan"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Agency FB"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ShowFocusRect = -1 'True
BackColor = 14737632
ForeColor = 0
MousePointer = 0
MouseIcon = "FormPengaturan.frx":053E
Value = 1
End
Begin Dacara_dcButton.dcButton cmSID
Height = 375
Left = 120
TabIndex = 28
Top = 2880
Width = 2055
_ExtentX = 3625
_ExtentY = 661
BackColor = 12230304
ButtonStyle = 3
Caption = "Set Internal Databases"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Agency FB"
Size = 11.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
PicAlign = 3
PicDown = "FormPengaturan.frx":055A
PicHot = "FormPengaturan.frx":28DC
PicNormal = "FormPengaturan.frx":4C5E
PicSize = 2
PicSizeH = 24
PicSizeW = 24
End
Begin VB.Label Label10
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = ":"
Height = 270
Left = 2160
TabIndex = 26
Top = 2160
Width = 45
End
Begin VB.Label Label9
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Hasil Pencarian"
Height = 270
Left = 120
TabIndex = 25
Top = 2160
Width = 1245
End
Begin VB.Label Label8
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Default Tampil Data"
Height = 270
Left = 120
TabIndex = 15
Top = 720
Width = 1620
End
Begin VB.Label Label7
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = ":"
Height = 270
Left = 2160
TabIndex = 14
Top = 720
Width = 45
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Referensi Excel"
Height = 270
Left = 120
TabIndex = 13
Top = 1680
Width = 1215
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = ":"
Height = 270
Left = 2160
TabIndex = 12
Top = 1680
Width = 45
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = ":"
Height = 270
Left = 2160
TabIndex = 11
Top = 1200
Width = 45
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Format Default"
Height = 270
Left = 120
TabIndex = 10
Top = 1200
Width = 1230
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = ":"
Height = 270
Left = 2160
TabIndex = 9
Top = 240
Width = 45
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Bahasa"
Height = 270
Left = 120
TabIndex = 8
Top = 240
Width = 555
End
End
End
Begin Dacara_dcButton.dcButton cmOK
Height = 375
Left = 4200
TabIndex = 0
Top = 4080
Width = 1095
_ExtentX = 1931
_ExtentY = 661
BackColor = 12230304
ButtonStyle = 3
Caption = "&OK"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Agency FB"
Size = 11.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
PicAlign = 5
PicDown = "FormPengaturan.frx":6FE0
PicHot = "FormPengaturan.frx":72FA
PicNormal = "FormPengaturan.frx":7614
PicSize = 1
PicSizeH = 16
PicSizeW = 16
End
Begin Dacara_dcButton.dcButton cmBatal
Height = 375
Left = 3000
TabIndex = 1
Top = 4080
Width = 1095
_ExtentX = 1931
_ExtentY = 661
BackColor = 12230304
ButtonStyle = 3
Caption = "&Batal"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Agency FB"
Size = 11.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
PicAlign = 3
PicDown = "FormPengaturan.frx":792E
PicHot = "FormPengaturan.frx":7D80
PicNormal = "FormPengaturan.frx":81D2
PicSize = 1
PicSizeH = 16
PicSizeW = 16
End
Begin HookMenu.ctxHookMenu ctxHookMenu1
Left = 480
Top = 4680
_ExtentX = 900
_ExtentY = 900
BmpCount = 2
Bmp:1 = "FormPengaturan.frx":8624
Mask:1 = 6052895
Key:1 = "#MenuRegistry"
Bmp:2 = "FormPengaturan.frx":8976
Mask:2 = 16777215
Key:2 = "#menuPF"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin Dacara_dcButton.dcButton cmBantuan
Height = 375
Left = 120
TabIndex = 38
Top = 4080
Width = 1095
_ExtentX = 1931
_ExtentY = 661
BackColor = 12230304
ButtonStyle = 3
Caption = "&Bantuan"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Agency FB"
Size = 11.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
PicAlign = 5
PicDown = "FormPengaturan.frx":8CC8
PicHot = "FormPengaturan.frx":911A
PicNormal = "FormPengaturan.frx":956C
PicSize = 1
PicSizeH = 16
PicSizeW = 16
End
Begin XPEngine.XPControl XP_Engine
Left = 0
Top = 0
_ExtentX = 529
_ExtentY = 503
ColorScheme = 2
End
End
Attribute VB_Name = "FormPengaturan"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Sub AturKontrol()
With cmbBahasa
.Clear
.AddItem "Indonesia", 0
.AddItem "Inggris", 1
.ListIndex = GetSetting("rssamv1.0", "pengaturanUtama", cmbBahasa.Name, cmbBahasa.ListIndex)
End With
If cmbBahasa.ListIndex = 0 Then
With CmbDefaultTampilkanData
.Clear
.AddItem "Identitas Pribadi", 0
.AddItem "Buku Alamat", 1
.AddItem "Ulang Tahun", 2
.AddItem "Agenda", 3
.AddItem "Registrasi Software", 4
.AddItem "Jejaring Sosial", 5
.AddItem "Electronic Mail", 6
.AddItem "Forum Internet", 7
.AddItem "File Transfer Protokol", 8
.AddItem "Blogging/Website", 9
.ListIndex = 0
End With
ElseIf cmbBahasa.ListIndex = 1 Then
With CmbDefaultTampilkanData
.Clear
.AddItem "Personal Biodata", 0
.AddItem "Address Book", 1
.AddItem "Birthday", 2
.AddItem "Agenda", 3
.AddItem "Software Serial", 4
.AddItem "Social Network", 5
.AddItem "Electronic Mail", 6
.AddItem "Internet Forums", 7
.AddItem "FTP", 8
.AddItem "Blogging/Site", 9
.ListIndex = 0
End With
End If
If cmbBahasa.ListIndex = 0 Then
With cmbHasilPencarian
.Clear
.AddItem "Kotak Text", 0
.AddItem "Kotak Pesan", 1
.AddItem "Arahkan Ke Temuan", 2
.ListIndex = 0
End With
ElseIf cmbBahasa.ListIndex = 1 Then
With cmbHasilPencarian
.Clear
.AddItem "Text Box", 0
.AddItem "Messages Box", 1
.AddItem "Point to Result", 2
.ListIndex = 0
End With
End If
With cmbDefaultFormat
.Clear
.AddItem "RikySoft Catatan Files (*.rcf)", 0
.AddItem "RikySoft Mail Files (*.rmd)", 1
.AddItem "Text Files (*.txt)", 2
.AddItem "Word 2003 Files (*.doc)", 3
.AddItem "Excel 2003 Files (*.xls)", 4
.AddItem "HTML Files (*.htm)", 5
.ListIndex = 0
End With
With cmbReferensiExcel
.Clear
.AddItem "Microsoft Excel 11.0 Object Library", 0
.ListIndex = 0
End With
With cmbTemaTampilan
.Clear
.AddItem "RST_Office 2003", 0
.AddItem "RST_Office XP", 1
.AddItem "RST_Opera Browser", 2
.AddItem "RST_Classic", 3
.AddItem "RST_XP Blue", 4
.AddItem "RST_XP Olive Green", 5
.AddItem "RST_XP Silver", 6
.AddItem "RST_XP Toolbar", 7
.AddItem "RST_Yahoo", 8
.AddItem "RST_Mac", 9
.AddItem "RST_MacOSX", 10
.ListIndex = 0
End With
With cmbWarnaTampilan
.Clear
.AddItem "Ungu Natural", 0
.AddItem "Merah", 1
.AddItem "Pink", 2
.AddItem "Hijau Muda", 3
.AddItem "Hitam", 4
.AddItem "Silver", 5
.AddItem "Silver Natural", 6
.AddItem "Orange", 7
.AddItem "Ungu Janda", 8
.ListIndex = 0
End With
AmbilPengaturanUtama
PengaturanFormIni
DisableCloseBtn Me
For Each Objek In Me
If TypeName(Objek) = "Label" Or TypeName(Objek) = "dcButton" Or TypeName(Objek) = "AeroCheckBox" Or TypeName(Objek) = "TextBox" Or TypeName(Objek) = "ComboBox" Then
With Objek
.Font.Name = "Agency FB"
.Font.Size = 11
End With
End If
If TypeName(Objek) = "XPText" Then Objek.Font.Name = "Agency FB"
Next
XP_Engine.StartEngine
End Sub
Sub PengaturanFORM_UTAMA()
'PENGATURAN WARNA UNTUK FORM_UTAMA
For Each Objek In FORM_UTAMA
Select Case cmbWarnaTampilan.ListIndex
Case Is = 0
FORM_UTAMA.BackColor = UnguNatural
If TypeName(Objek) = "dcButton" Then Objek.BackColor = UnguNatural
If TypeName(Objek) = "Frame" Then Objek.BackColor = UnguNatural
If TypeName(Objek) = "XPFrame" Then Objek.BackColor = UnguNatural
Case Is = 1
FORM_UTAMA.BackColor = Merah
If TypeName(Objek) = "dcButton" Then Objek.BackColor = Merah
If TypeName(Objek) = "Frame" Then Objek.BackColor = Merah
If TypeName(Objek) = "XPFrame" Then Objek.BackColor = Merah
Case Is = 2
FORM_UTAMA.BackColor = Pink
If TypeName(Objek) = "dcButton" Then Objek.BackColor = Pink
If TypeName(Objek) = "Frame" Then Objek.BackColor = Pink
If TypeName(Objek) = "XPFrame" Then Objek.BackColor = Pink
Case Is = 3
FORM_UTAMA.BackColor = HijauMuda
If TypeName(Objek) = "dcButton" Then Objek.BackColor = HijauMuda
If TypeName(Objek) = "Frame" Then Objek.BackColor = HijauMuda
If TypeName(Objek) = "XPFrame" Then Objek.BackColor = HijauMuda
Case Is = 4
FORM_UTAMA.BackColor = Hitam
If TypeName(Objek) = "dcButton" Then Objek.BackColor = Hitam
If TypeName(Objek) = "Frame" Then Objek.BackColor = Hitam
If TypeName(Objek) = "XPFrame" Then Objek.BackColor = Hitam
Case Is = 5
FORM_UTAMA.BackColor = Silver
If TypeName(Objek) = "dcButton" Then Objek.BackColor = Silver
If TypeName(Objek) = "Frame" Then Objek.BackColor = Silver
If TypeName(Objek) = "XPFrame" Then Objek.BackColor = Silver
Case Is = 6
FORM_UTAMA.BackColor = SilverNatural
If TypeName(Objek) = "dcButton" Then Objek.BackColor = SilverFormUtama
If TypeName(Objek) = "Frame" Then Objek.BackColor = SilverNatural
If TypeName(Objek) = "XPFrame" Then Objek.BackColor = SilverNatural
FORM_UTAMA.cmAkunDesktop.BackColor = &H808080
FORM_UTAMA.cmAkunWeb.BackColor = &H808080
Case Is = 7
FORM_UTAMA.BackColor = Orange
If TypeName(Objek) = "dcButton" Then Objek.BackColor = Orange
If TypeName(Objek) = "Frame" Then Objek.BackColor = Orange
If TypeName(Objek) = "XPFrame" Then Objek.BackColor = Orange
Case Is = 8
FORM_UTAMA.BackColor = UnguJanda
If TypeName(Objek) = "dcButton" Then Objek.BackColor = UnguJanda
If TypeName(Objek) = "Frame" Then Objek.BackColor = UnguJanda
If TypeName(Objek) = "XPFrame" Then Objek.BackColor = UnguJanda
End Select
Next
'PENGATURAN THEMA UNTUK FORM_UTAMA
For Each Objek In FORM_UTAMA
If TypeName(Objek) = "dcButton" Then
Select Case cmbTemaTampilan.ListIndex
Case Is = 0
Objek.ButtonStyle = 3
Case Is = 1
Objek.ButtonStyle = 4
Case Is = 2
Objek.ButtonStyle = 5
Case Is = 3
Objek.ButtonStyle = 6
Case Is = 4
Objek.ButtonStyle = 7
Case Is = 5
Objek.ButtonStyle = 8
Case Is = 6
Objek.ButtonStyle = 9
Case Is = 7
Objek.ButtonStyle = 10
Case Is = 8
Objek.ButtonStyle = 11
Objek.BackColor = &H12BCFF
Case Is = 9
Objek.ButtonStyle = 1
Objek.BackColor = &HFF9B48
Case Is = 10
Objek.ButtonStyle = 2
End Select
End If
Next
If Me.cekGarisGrid.Value = Checked Then
FORM_UTAMA.LV.GridLines = True
ElseIf Me.cekGarisGrid.Value = Unchecked Then
FORM_UTAMA.LV.GridLines = False
End If
'always on top
If FormPengaturan.cekAlwaysOnTop.Value = Checked Then
SetOnTop (FORM_UTAMA.hwnd)
ElseIf FormPengaturan.cekAlwaysOnTop.Value = Unchecked Then
NotOnTop (FORM_UTAMA.hwnd)
End If
End Sub
Sub SimpanPengaturanUtama()
With Me
SaveSetting "rssamv1.0", "pengaturanUtama", .cmbWarnaTampilan.Name, .cmbWarnaTampilan.ListIndex
SaveSetting "rssamv1.0", "pengaturanUtama", .cmbTemaTampilan.Name, .cmbTemaTampilan.ListIndex
SaveSetting "rssamv1.0", "pengaturanUtama", .cekAutoRefresh.Name, .cekAutoRefresh.Value
SaveSetting "rssamv1.0", "pengaturanUtama", .cekGarisGrid.Name, .cekGarisGrid.Value
SaveSetting "rssamv1.0", "pengaturanUtama", .cekTampilkanPesanSimpan.Name, .cekTampilkanPesanSimpan.Value
SaveSetting "rssamv1.0", "pengaturanUtama", .cekKosongkanInput.Name, .cekKosongkanInput.Value
SaveSetting "rssamv1.0", "pengaturanUtama", .cekPesanKonfirmasi.Name, .cekPesanKonfirmasi.Value
SaveSetting "rssamv1.0", "pengaturanUtama", .cekTutupForm.Name, .cekTutupForm.Value
SaveSetting "rssamv1.0", "pengaturanUtama", .cekKunciTabel.Name, .cekKunciTabel.Value
SaveSetting "rssamv1.0", "pengaturanUtama", .cekRiwayatAktivitas.Name, .cekRiwayatAktivitas.Value
SaveSetting "rssamv1.0", "pengaturanUtama", .cmbHasilPencarian.Name, .cmbHasilPencarian.ListIndex
SaveSetting "rssamv1.0", "pengaturanUtama", .CmbDefaultTampilkanData.Name, .CmbDefaultTampilkanData.ListIndex
SaveSetting "rssamv1.0", "pengaturanUtama", .cmbReferensiExcel.Name, .cmbReferensiExcel.ListIndex
SaveSetting "rssamv1.0", "pengaturanUtama", .cmbDefaultFormat.Name, .cmbDefaultFormat.ListIndex
SaveSetting "rssamv1.0", "pengaturanUtama", .cmbBahasa.Name, .cmbBahasa.ListIndex
SaveSetting "rssamv1.0", "pengaturanUtama", .CekTutupFormCAri.Name, .CekTutupFormCAri.Value
SaveSetting "rssamv1.0", "pengaturanUtama", .XTab1.Name, .XTab1.ActiveTab
SaveSetting "rssamv1.0", "pengaturanUtama", .cekAlwaysOnTop.Name, .cekAlwaysOnTop.Value
End With
End Sub
Sub AmbilPengaturanUtama()
With Me
.cmbWarnaTampilan.ListIndex = GetSetting("rssamv1.0", "pengaturanUtama", .cmbWarnaTampilan.Name, .cmbWarnaTampilan.ListIndex)
.cmbTemaTampilan.ListIndex = GetSetting("rssamv1.0", "pengaturanUtama", .cmbTemaTampilan.Name, .cmbTemaTampilan.ListIndex)
.cekAutoRefresh.Value = GetSetting("rssamv1.0", "pengaturanUtama", .cekAutoRefresh.Name, .cekAutoRefresh.Value)
.cekGarisGrid.Value = GetSetting("rssamv1.0", "pengaturanUtama", .cekGarisGrid.Name, .cekGarisGrid.Value)
.cekTampilkanPesanSimpan.Value = GetSetting("rssamv1.0", "pengaturanUtama", .cekTampilkanPesanSimpan.Name, .cekTampilkanPesanSimpan.Value)
.cekKosongkanInput.Value = GetSetting("rssamv1.0", "pengaturanUtama", .cekKosongkanInput.Name, .cekKosongkanInput.Value)
.cekPesanKonfirmasi.Value = GetSetting("rssamv1.0", "pengaturanUtama", .cekPesanKonfirmasi.Name, .cekPesanKonfirmasi.Value)
.cekTutupForm.Value = GetSetting("rssamv1.0", "pengaturanUtama", .cekTutupForm.Name, .cekTutupForm.Value)
.cekKunciTabel.Value = GetSetting("rssamv1.0", "pengaturanUtama", .cekKunciTabel.Name, .cekKunciTabel.Value)
.cekRiwayatAktivitas.Value = GetSetting("rssamv1.0", "pengaturanUtama", .cekRiwayatAktivitas.Name, .cekRiwayatAktivitas.Value)
.cmbHasilPencarian.ListIndex = GetSetting("rssamv1.0", "pengaturanUtama", .cmbHasilPencarian.Name, .cmbHasilPencarian.ListIndex)
.CmbDefaultTampilkanData.ListIndex = GetSetting("rssamv1.0", "pengaturanUtama", .CmbDefaultTampilkanData.Name, .CmbDefaultTampilkanData.ListIndex)
.cmbReferensiExcel.ListIndex = GetSetting("rssamv1.0", "pengaturanUtama", .cmbReferensiExcel.Name, .cmbReferensiExcel.ListIndex)
.cmbDefaultFormat.ListIndex = GetSetting("rssamv1.0", "pengaturanUtama", .cmbDefaultFormat.Name, .cmbDefaultFormat.ListIndex)
.cmbBahasa.ListIndex = GetSetting("rssamv1.0", "pengaturanUtama", .cmbBahasa.Name, .cmbBahasa.ListIndex)