You are on page 1of 12

Tools Jumlah Tools

Label 1

Frame 4

Option Button 12

Form 1

View Code
Private Sub Form_Load()
End Sub
Private Sub Option1_Click()
Label1.FontBold = False
Label1.FontItalic = False
End Sub
Private Sub Option10_Click()
Label1.ForeColor = vbYellow
End Sub
Private Sub Option11_Click()
Label1.FontStrikethru = True
End Sub
Private Sub Option12_Click()
Label1.FontStrikethru = False
End Sub
Private Sub Option13_Click()
Label1.ForeColor = False
End Sub
Private Sub Option2_Click()
Label1.FontBold = True
End Sub
Private Sub Option3_Click()
Label1.FontItalic = True
End Sub
Private Sub Option4_Click()
Label1.FontBold = True
Label1.FontItalic = True
End Sub
Private Sub Option5_Click()
Label1.FontUnderline = True
End Sub
Private Sub Option6_Click()
Label1.FontUnderline = False
End Sub
Private Sub Option10_Click()
Label1.ForeColor = vbYellow
End Sub
Private Sub Option11_Click()
Label1.FontStrikethru = True
End Sub
Private Sub Option12_Click()
Label1.FontStrikethru = False
End Sub
Private Sub Option13_Click()
Label1.ForeColor = False
End Sub
Private Sub Option2_Click()
Label1.FontBold = True
End Sub
Private Sub Option3_Click()
Label1.FontItalic = True
End Sub
Private Sub Option4_Click()
Label1.FontBold = True
Label1.FontItalic = True
End Sub
Private Sub Option5_Click()
Label1.FontUnderline = True
End Sub
Private Sub Option6_Click()
Label1.FontUnderline = False
End Sub
Private Sub Option7_Click()
Label1.ForeColor = vbRed
End Sub
Private Sub Option8_Click()
Label1.ForeColor = vbBlue
End Sub
Private Sub Option9_Click()
Label1.ForeColor = vbGreen
End Sub
Private Sub Option2_Click()
Label1.FontBold = True
End Sub

Private Sub Option3_Click()


Label1.FontItalic = True
End Sub

Private Sub Option4_Click()


Label1.FontBold = True
Label1.FontItalic = True
End Sub

Private Sub Option5_Click()


Label1.FontUnderline = True
End Sub

Private Sub Option6_Click()


Label1.FontUnderline = False
Keterangan End Sub
Mengubah Label dengan Option Private Sub Option7_Click()
Battom Label1.ForeColor = vbRed
End Sub
Style, Underline, Color, &
Strikeout Private Sub Option8_Click()
Label1.ForeColor = vbBlue
Normal, Itakic, Bold, Bold Italic, End Sub
Bergaris Bawah, Tidak Bergaris
Private Sub Option9_Click()
Bawah, Di Coret, & Tidak Di Coret Label1.ForeColor = vbGreen
End Sub
Option Battom Dengan Frame
View Code
Tools Jumlah Tools
Label 1
Frame 2

Option Button 12

Form 1
Command 1

Tools Jumlah Tools

Label 4

ComboBox 1
Command 2
Form 1
Jumlah Tools
Label 6
Command 3
Form 1
Form 1

Tools Jumlah Tools

Label 6

Command 3

Form 1

Tools Jumlah Tools


Label 3
Command 3

Form 1

TextBox 3

Tools Jumlah Tools


Label 4

Command 3
Form 1
TextBox 4

Tools Jumlah Tools


Label 2
Command 5
Form 1
List 1

Tools Jumlah Tools

Label 4

Command 2
Form 1
List 1

Tools Jumlah Tools

Label 9

Command 2
Form 1
Timer 1
Keterangan
Membuat Teks
Pola Huruf, Ucapan

Teba, Miring, Biasa, Greeting, Congratulation

Tombol Option
Keluar

Keterangan

Valuta Asing, Kurs, Jumlah, Nilai Rupiah

Hitung, Keluar
Nilai Mata Uang Rupiah
Keterangan
Nama Barang, Harga, Jumlah, Total, Discont, Harga
Bayar
tt
Hitung, Keluar
Menghitung Total Bayar Dengan Discont

Keterangan
Nama Barang, Harga, Jumlah, Total, Discont, Harga
Bayar
Hasil, Mulai, Selesai

Menghitung Total Bayar Dengan Discont

Keterangan
Panjang, Lebar, Luas
Hasil, Mulai, Selesai

Menghitung Luas Persegi Panjang

Keterangan
Nama Barang, Harga, Jumlah, Total

Hasil, Mulai, Selesai


Menghitung Total Barang

Keterangan
Tambah, Jumlah Item
Add, Remove, Count, Remove All, Exit
Metode List Box
List1

Keterangan
Kalkulator Nilai, Tukar Kurs, Nilai Dolar ($), Nilai Tukar
Ke Rupiah, Nilai Rupiah
Hitung, Exit
Kalkulator Nilai, Tukar Kurs
List1

Keterangan
Rental Komputer Stimik, Waktu Mulai, Waktu Selesai,
Biaya Per Jam, Biaya Cetak Per Lembar, Lembar Yang
Dicetak, Total Biaya, Rp, Rp

Mulai, Selesai
Rental Komputer Stimik
Private Sub command1_click()
Dim i As Byte
For i = 0 To 3
Text1(i).Text = ""
Next i
Text1(0).SetFocus
End Sub
Private Sub command2_click()
End
End Sub
Private Sub form_load()
Form1.Caption = Time
End Sub
Private Sub slider1_click(index As Integer)
Label1(0).Caption = "Rp. " & Slider1(0).Value
Label8(1).Caption = "Rp. " & Slider1(1).Value
End Sub
Private Sub text1_change(index As Integer)
Text1(3).Text = "Rp. " & (Val(Text1(1).Text) -
Val(Text1(0).Text))* Slider1(0).Value + (Val(Text1(2).Text)
* Slider1(1).Value)
End Sub

Private Sub command1_click()


Dim i As Byte
For i = 0 To 3
Text1(i).Text = ""
Next i
Text1(0).SetFocus
End Sub
Private Sub command2_click()
End
End Sub
Private Sub form_load()
Form1.Caption = Time
End Sub
Private Sub slider1_click(index As Integer)
Label1(0).Caption = "Rp. " & Slider1(0).Value
Label8(1).Caption = "Rp. " & Slider1(1).Value
End Sub
Private Sub text1_change(index As Integer)
Text1(3).Text = "Rp. " & (Val(Text1(1).Text) - Val(Text1(0).Text)) *
Slider1(0).Value + (Val(Text1(2).Text) * Slider1(1).Value)
End Sub
Label1(0).Caption = "Rp. " & Slider1(0).Value
Label8(1).Caption = "Rp. " & Slider1(1).Value
End Sub
Private Sub text1_change(index As Integer)
Text1(3).Text = "Rp. " & (Val(Text1(1).Text) - Val(Text1(0).Text)) *
Slider1(0).Value + (Val(Text1(2).Text) * Slider1(1).Value)
End Sub

You might also like