Disain Form SBB:: Langkah-Langkah Untuk Menyusun Praktikum I, Adl
Disain Form SBB:: Langkah-Langkah Untuk Menyusun Praktikum I, Adl
0 Programming)
: Pprak_1.VBP
: Fprak_1.Frm
Nama Component
Frame1
Frame2
Text1
Text2
Text3
Command1
Command2
Command3
Command4
Disajikan Oleh : Ir. H. Sumijan, M.Sc
Properties
Caption = spaces
Caption = spaces
Name = txtnilaia
Text = spaces
Name = txtnilaib
Text = spaces
Name = txthasilproses
Text = spaces
Name = cmdtambah
Caption = +
Name = cmdkurang
Caption = Name = cmdbagi
Caption = /
Name = cmdkali
1 of 52
Command5
Command6
Caption = *
Name = cmdpangkat
Caption = ^
Name = cmdexit
Caption = &Exit
2 of 52
3 of 52
: Pprak_2.VBP
: Fprak_2.Frm
Nama Component
Frame1
Frame2
Disajikan Oleh : Ir. H. Sumijan, M.Sc
Properties
Caption = spaces
Caption = spaces
4 of 52
Frame3
Text1
Text2
Text3
Text4
Text5
Command1
Command2
Command3
Command6
Caption = spaces
Name = txta
Text = spaces
Name = txtb
Text = spaces
Name = txthasilint
Text = spaces
Name = txthasildouble
Text = spaces
Name = txthasilstring
Text = spaces
Name = cmdtambahint
Caption = Integer +
Name = cmdtambahdouble
Caption = Double+
Name = cmdtambahstring
Caption = String+
Name = cmdclose
Caption = &Close
5 of 52
b = Val(txtb.Text)
txthasildouble.Text = Str(hitung1(a, b))
End Sub
6 of 52
: Pprak_3.VBP
: Fprak_3.Frm
Nama Component
Frame1
Frame2
Frame3
Text1
Properties
Caption = spaces
Caption = spaces
Caption = spaces
Name = txtnobp
Text = spaces
7 of 52
Text2
Text3
Text4
Text5
Command1
Command2
Command3
Name = txtnama
Text = spaces
Name = txtnilaiangka
Text = spaces
Name = txtnilaihuruf
Text = spaces
Name = txtketerangan
Text = spaces
Name = cmdprocess
Caption =&Process
Name = cmdulang
Caption = &Ulang
Name = cmdexit
Caption =&Exit
8 of 52
cari (na)
txtnilaihuruf.Text = hrf
txtketerangan.Text = ket
End Sub
9 of 52
: Pprak_4.VBP
: Fprak_4.Frm
Nama Component
Frame1
Frame2
sFrame3
Frame4
Disajikan Oleh : Ir. H. Sumijan, M.Sc
Properties
Caption = spaces
Caption = spaces
Caption = spaces
Caption = spaces
10 of 52
Text1
Text2
Text3
Combo1
Combo2
Combo3
Option1
Option2
Chechbox1
Chechbox2
Chechbox3
Chechbox4
Chechbox5
Chechbox6
Command1
Command2
Command3
Name = txtnpm
Text = spaces
Name = txtnama
Text = spaces
Name = txtasalslta
Text = spaces
Name = cbostatus
Text = spaces
Name = cbofakultas
Text = spaces
Name = cboprogramstudi
Text = spaces
Name = optlakilaki
Caption = Laki-Laki
Name = optwanita
Caption = wanita
Name = chkorkes
Caption = Olah raga
Name = chkprg
Caption = Programmer
Name = chkans
Caption = Analys
Name = chkbaca
Caption = Membaca
Name = chktulis
Caption = Menulis
Name = chkbrows
Caption = Browsing
Name = cmdOk
Caption =&Ok
Name = cmdulang
Caption = &Ulang
Name = cmdclose
Caption =&Close
11 of 52
cboprogramstudi.AddItem "Akutansi-D3"
cboprogramstudi.AddItem "Manajemen-D3"
Case "Teknologi Industri"
cboprogramstudi.AddItem "Teknik Elektro"
cboprogramstudi.AddItem "Teknik Industri"
Case "Teknik Sipil & Perencanaan"
cboprogramstudi.AddItem "Teknik Sipil"
cboprogramstudi.AddItem "Teknik Arsitektur"
Case "Psikologi"
cboprogramstudi.AddItem "Psikologi"
End Select
End Sub
12 of 52
13 of 52
: Pprak_5.VBP
: Fprak_5.Frm
14 of 52
Nama Component
Frame1
Frame2
Text1
Calender1
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Command
Disajikan Oleh : Ir. H. Sumijan, M.Sc
Properties
Caption = spaces
Caption = spaces
Name = tampilan
Text = spaces
Name = Calender1
Name = angka
Caption = 1
Index = 1
Name = angka
Caption = 2
Index = 2
Name = angka
Caption = 3
Index = 3
Name = angka
Caption = 4
Index = 4
Name = angka
Caption = 5
Index = 5
Name = angka
Caption = 6
Index = 6
Name = angka
Caption = 7
Index = 7
Name = angka
Caption = 8
Index = 8
Name = angka
Caption = 9
Index = 9
Name = tblhapus
Caption = C
Name = angka
Caption = 0
Index = 0
Name = Desimal
Caption = .
Name = TAmbahkurang
Caption = +/Name = Tambah
15 of 52
Command
Command
Command
Command
Command
Caption = +
Name = kali
Caption = *
Name = Satuper
Caption =
Name = kurang
Caption = Name = bagi
Caption = /
Name = Samadengan
Caption = =
16 of 52
End Sub
17 of 52
18 of 52
: Pprak_6.VBP
: Fprak_6.Frm
Nama Component
Text1
Text2
Text3
Command1
Timer1
Properties
Name = txtnilaia
Text = spaces
Name = txtnilaia
Text = spaces
Name = txtnilaia
Text = spaces
Name = cmdStart
Caption =&Start
Name = timer1
Interval = 1000
19 of 52
20 of 52
: Pprak_7.VBP
: Fprak_7.Frm
Nama Component
Label1
Text1
Text2
List1
Properties
Name = Label1
Caption = Cara Menggunakan Keypress
Name = Text1
Text = spaces
Name = Text2
Text = spaces
Name = List1
Text = spaces
21 of 52
For i = 0 To 10
List1.List(i) = i * 10 + 10
List1.ItemData(i) = i * 10 + 10
Next i
End Sub
22 of 52
: Pprak_8.VBP
: Fprak_8.Frm
Nama Component
Label1
Label2
Label3
Text1
Text2
Text3
Properties
Name = Label1
Caption = Label1
Name = Label2
Caption = Label2
Name = Label3
Caption = Label3
Name = Text1
Text = spaces
Name = Text2
Text = spaces
Name = Text3
Text = spaces
23 of 52
List1
List2
Command1
Name = List1
Text = spaces
Name = Lsthasil
Text = spaces
Name = cmdExit
Caption =&Exit
24 of 52
: Pprak_9.VBP
: Fprak_9.Frm
25 of 52
Nama Component
Text1
Text1
Text1
Text1
Text1
Text1
Text1
Text1
Text1
Properties
Name = Text1(0)
Text = spaces
Name = Text(1)
Text = spaces
Name = Text(2)
Text = spaces
Name = Text1(3)
Text = spaces
Name = Text(4)
Text = spaces
Name = Text(5)
Text = spaces
Name = Text1(6)
Text = spaces
Name = Text(7)
Text = spaces
Name = Text(8)
Text = spaces
26 of 52
Text1
Command1
Command2
Name = Text(9)
Text = spaces
Name = cmdProcess
Caption =&Process
Name = cmdExit
Caption =&Exit
27 of 52
: Pprak_10.VBP
: Fprak_10.Frm
28 of 52
Nama Component
Label1
Label2
Label3
Label4
Text1
Text2
Text3
Combo1
Properties
Name = Label1
Caption = Valuta Asing
Name = Label2
Caption =Jumlah
Name = Label3
Caption = Nilai Rupiah
Name = Label3
Caption = KURS
Name = Text1
Text = spaces
Name = Text2
Text = spaces
Name = Text3
Text = spaces
Name = Combo1
Text = spaces
29 of 52
End Sub
Private Sub Form_Load()
Combo1.List(0) = "Dollar US"
Combo1.List(1) = "Dollar AUS"
Combo1.List(2) = "Yen Jepang"
Combo1.List(3) = "Pound Inggris"
Combo1.List(4) = "Won Korea"
Combo1.ItemData(0) = 9600
Combo1.ItemData(1) = 3500
Combo1.ItemData(2) = 32
Combo1.ItemData(3) = 4500
Combo1.ItemData(4) = 5
End Sub
: Pprak_11.VBP
: Fprak_11.Frm
30 of 52
Nama Component
Frame1
Frame2
Text1
Text1
Text1
Text1
Text1
Text1
Text1
Option1
Option2
Command1
Disajikan Oleh : Ir. H. Sumijan, M.Sc
Properties
Caption = spaces
Caption = Discount
Name = Text1(0)
Text = spaces
Name = Text(1)
Text = spaces
Name = Text(2)
Text = spaces
Name = Text1(3)
Text = spaces
Name = Text(4)
Text = spaces
Name = Text(5)
Text = spaces
Name = Text1(6)
Text = spaces
Name = Optya
Caption = Ya
Name = Opttidak
Caption = Tidak
Name = cmdmulai
31 of 52
Command2
Caption =&Mulai
Name = cmdSelesai
Caption =&Selesai
32 of 52
: Pprak_12.VBP
: Fprak_12.Frm
33 of 52
Nama Component
Frame1
Text1
Text2
Text3
Text4
Combo1
Combo2
Combo3
Label1
Label2
Label3
Properties
Caption = spaces
Name = txtnobp
Text = spaces
Name = txtnama
Text = spaces
Name = txtmutu
Text = spaces
Name = txtpredikat
Text = spaces
Name = cbojeniskelamin
Text = spaces
Name = cboasalslta
Text = spaces
Name = cbonilaihuruf
Text = spaces
Name = Label1
Caption = Input Data Mahasiswa
Name = Label1
Caption = Nobp
Name = Label1
Caption = Nama
34 of 52
Label4
Label5
Label6
Label7
Label8
Command1
Command2
Command3
Name = Label1
Caption = Jenis Kelamin
Name = Label1
Caption = Asal SLTA
Name = Label1
Caption = Nilai Huruf
Name = Label1
Caption = Mutu
Name = Label1
Caption = Predikat
Name = cmdStart
Caption =&Start
Name = cmdUlang
Caption =&Ulang
Name = cmdClose
Caption =&Close
35 of 52
pdk = "Cukup"
Case "D"
mutu = 1
pdk = "Kurang"
Case "E"
mutu = 0
pdk = "Sangat Kurang"
End Select
txtmutu.Text = mutu
txtpredikat.Text = pdk
End Sub
36 of 52
If KeyAscii = 13 Then
SendKeys "{tab}"
KeyAscii = 0
End If
End Sub
37 of 52
SendKeys "{tab}"
KeyAscii = 0
End If
End Sub
: Pprak_13.VBP
: Fprak_13.Frm
38 of 52
Nama Component
Text1
Text2
Text3
Text4
Text5
Text6
Text7
Text8
Text9
Label1
Label2
Disajikan Oleh : Ir. H. Sumijan, M.Sc
Properties
Name = txtkb
Text = spaces
Name = txtnb
Text = spaces
Name = txtdb
Text = spaces
Name = txtjml
Text = spaces
Name = txthb
Text = spaces
Name = txtnp
Text = spaces
Name = txtdc
Text = spaces
Name = txttp
Text = spaces
Name = txtpc
Text = spaces
Name = Label1
Caption = Kode Barang
Name = Label2
39 of 52
Label3
Label4
Label5
Label6
Label7
Label8
Label9
Label10
40 of 52
: Pprak_14.VBP
: Fprak_14.Frm
41 of 52
Nama Component
Frame1
Frame2
Frame3
Option1
Option2
Option3
Option4
Option5
Option6
Option7
Label1
Properties
Caption = spaces
Caption = spaces
Caption = spaces
Name =Option1
Caption = GREEN
Name =Option2
Caption =WHITE
Name =Option3
Caption = RED
Name =Option4
Caption = Italic On
Name =Option5
Caption = Italic Off
Name =Option6
Caption = Underline On
Name =Option7
Caption = Underline Off
Name =Label1
Caption = spaces
42 of 52
43 of 52
: Pprak_15.VBP
: Fprak_15.Frm
44 of 52
Nama Component
Frame1
Frame2
Data1
Text1
Text2
Text3
Command1
Command2
Command3
Properties
Caption = spaces
Caption = spaces
Name = Data1
Visible = False
Name = txtnobp
Text = spaces
Name = txtnama
Text = spaces
Name = txtkelas
Text = spaces
Name = cmdsave
Caption = &Save
Name = cmdcancel
Caption = &Cancel
Name = cmdexit
Caption = &Exit
45 of 52
txtnobp.SetFocus
End Sub
46 of 52
: Pprak_16.VBP
: Fprak_16.Frm
47 of 52
Nama Component
Frame1
Frame2
Data1
Text1
Text2
Text3
Command1
Command2
Command3
Properties
Caption = spaces
Caption = spaces
Name = Data1
Visible = False
Name = txtnobp
Text = spaces
Name = txtnama
Text = spaces
Name = txtkelas
Text = spaces
Name = cmdsimpan
Caption = &Simpan
Name = cmdcancel
Caption = &Cancel
Name = cmdexit
Caption = &Exit
48 of 52
txtnobp.SetFocus
End Sub
49 of 52
txtnobp.Text = rsmhs!nobp
txtnama.Text = rsmhs!nama
txtkelas.Text = rsmhs!kelas
End Sub
: Pprak_17.VBP
: Fprak_17.Frm
50 of 52
Nama Component
Frame1
Data1
MsFlexGrid1
Command1
Command2
Properties
Caption = spaces
Name = Data1
Visible = False
Name = Tabel
DataSource = Data1
Name = cmdPreview
Caption = &Preview
Name = cmdexit
Caption = &Exit
51 of 52
52 of 52