Algoritma menu Referensi

C.5. Algoritma menu Referensi

Form referensi merupakan form pendukung pada perangkat lunak. Dalam form ini akan ditampilkan referensi yang berkaitan dengan ilmu teknik peledakan. Langkah – langkah pembuatan menu Referensi adalah sebagai berikut :

1. Buat project baru pada Visual Basic 6.0 kemudian pilih Standard.exe

2. Tambahkan 2 buah control Timer dan 1 buah SSTab

3. Kemudian tambahkan ke Form, 4 buah Label, 7 buah CommandButton, 1 buah Image .

4. Selanjutnya implementasikan Source Code Berikut ini : Private Sub Form_Load()

Form5.Top = Form5.Height * -1 Form5.Left = (Screen.Width - Form5.Width) / 2 posTengah = (Screen.Height - Form5.Height) / 2 Form5.Timer1.Interval = 50 End Sub

Private Sub Timer1_Timer() If Me.Top < posTengah Then

Me.Top = Me.Top + ((posTengah - Me.Top) / 2) Else Me.Top = posTengah Me.Timer1.Interval = 0

End If End Sub

Private Sub Label10_Click() Image19.Visible = True Image20.Visible = True Image23.Visible = True Image24.Visible = False Image25.Visible = False Image26.Visible = False Image27.Visible = False Image28.Visible = False Image29.Visible = False Image30.Visible = False Image31.Visible = False Image3.Visible = False Image4.Visible = False

Image6.Visible = False Image8.Visible = False End Sub

Private Sub Label11_Click() Image24.Visible = True Image19.Visible = False Image20.Visible = False Image23.Visible = False Image25.Visible = False Image26.Visible = False Image27.Visible = False Image28.Visible = False Image29.Visible = False Image30.Visible = False Image31.Visible = False Image3.Visible = False Image4.Visible = False Image6.Visible = False Image8.Visible = False End Sub

Private Sub Label12_Click() Image25.Visible = True Image19.Visible = False Image20.Visible = False Image23.Visible = False Image24.Visible = False Image26.Visible = False Image27.Visible = False Image28.Visible = False Image29.Visible = False Image30.Visible = False Image31.Visible = False Image3.Visible = False Image4.Visible = False Image6.Visible = False Image8.Visible = False End Sub

Private Sub Label13_Click() Image26.Visible = True Image19.Visible = False Image20.Visible = False Image23.Visible = False Image24.Visible = False Image25.Visible = False

Image27.Visible = False Image28.Visible = False Image29.Visible = False Image30.Visible = False Image31.Visible = False Image3.Visible = False Image4.Visible = False Image6.Visible = False Image8.Visible = False End Sub

Private Sub Label15_Click() Image27.Visible = True Image19.Visible = False Image20.Visible = False Image23.Visible = False Image24.Visible = False Image25.Visible = False Image26.Visible = False Image28.Visible = False Image29.Visible = False Image30.Visible = False Image31.Visible = False Image3.Visible = False Image4.Visible = False Image6.Visible = False Image8.Visible = False End Sub

Private Sub Label16_Click() Image28.Visible = True Image19.Visible = False Image20.Visible = False Image23.Visible = False Image24.Visible = False Image25.Visible = False Image26.Visible = False Image27.Visible = False Image29.Visible = False Image30.Visible = False Image31.Visible = False Image3.Visible = False Image4.Visible = False Image6.Visible = False Image8.Visible = False End Sub

Private Sub Label17_Click() Image29.Visible = True Image19.Visible = False Image20.Visible = False Image23.Visible = False Image24.Visible = False Image25.Visible = False Image26.Visible = False Image27.Visible = False Image28.Visible = False Image30.Visible = False Image31.Visible = False Image3.Visible = False Image4.Visible = False Image6.Visible = False Image8.Visible = False End Sub

Private Sub Label18_Click() Image31.Visible = True Image19.Visible = False Image20.Visible = False Image23.Visible = False Image24.Visible = False Image25.Visible = False Image26.Visible = False Image27.Visible = False Image28.Visible = False Image29.Visible = False Image30.Visible = False Image3.Visible = False Image4.Visible = False Image6.Visible = False Image8.Visible = False End Sub

Private Sub Label4_Click() Image30.Visible = True Image19.Visible = False Image20.Visible = False Image23.Visible = False Image24.Visible = False Image25.Visible = False Image26.Visible = False Image27.Visible = False Image28.Visible = False Image29.Visible = False

Image31.Visible = False Image3.Visible = False Image4.Visible = False Image6.Visible = False Image8.Visible = False End Sub

Private Sub Label6_Click() Image4.Visible = True Image3.Visible = False Image19.Visible = False Image20.Visible = False Image23.Visible = False Image24.Visible = False Image25.Visible = False Image26.Visible = False Image27.Visible = False Image28.Visible = False Image29.Visible = False Image30.Visible = False Image31.Visible = False Image6.Visible = False Image8.Visible = False End Sub

Private Sub Label7_Click() Image3.Visible = True

Image4.Visible = False Image19.Visible = False Image20.Visible = False Image23.Visible = False Image24.Visible = False Image25.Visible = False Image26.Visible = False Image27.Visible = False Image28.Visible = False Image29.Visible = False Image30.Visible = False Image31.Visible = False Image6.Visible = False Image8.Visible = False End Sub

Private Sub Label8_Click() Image6.Visible = True Image19.Visible = False Image20.Visible = False

Image23.Visible = False Image24.Visible = False Image25.Visible = False Image26.Visible = False Image27.Visible = False Image28.Visible = False Image29.Visible = False Image30.Visible = False Image31.Visible = False Image3.Visible = False Image4.Visible = False Image8.Visible = False End Sub

Private Sub Label9_Click() Image8.Visible = True Image19.Visible = False Image20.Visible = False Image23.Visible = False Image24.Visible = False Image25.Visible = False Image26.Visible = False Image27.Visible = False Image28.Visible = False Image29.Visible = False Image30.Visible = False Image31.Visible = False Image3.Visible = False Image4.Visible = False Image6.Visible = False End Sub

Dokumen yang terkait

ANALISIS KOMPARATIF PENDAPATAN DAN EFISIENSI ANTARA BERAS POLES MEDIUM DENGAN BERAS POLES SUPER DI UD. PUTRA TEMU REJEKI (Studi Kasus di Desa Belung Kecamatan Poncokusumo Kabupaten Malang)

23 307 16

FREKUENSI KEMUNCULAN TOKOH KARAKTER ANTAGONIS DAN PROTAGONIS PADA SINETRON (Analisis Isi Pada Sinetron Munajah Cinta di RCTI dan Sinetron Cinta Fitri di SCTV)

27 310 2

MANAJEMEN PEMROGRAMAN PADA STASIUN RADIO SWASTA (Studi Deskriptif Program Acara Garus di Radio VIS FM Banyuwangi)

29 282 2

APRESIASI IBU RUMAH TANGGA TERHADAP TAYANGAN CERIWIS DI TRANS TV (Studi Pada Ibu Rumah Tangga RW 6 Kelurahan Lemah Putro Sidoarjo)

8 209 2

PENYESUAIAN SOSIAL SISWA REGULER DENGAN ADANYA ANAK BERKEBUTUHAN KHUSUS DI SD INKLUSI GUGUS 4 SUMBERSARI MALANG

64 523 26

ANALISIS PROSPEKTIF SEBAGAI ALAT PERENCANAAN LABA PADA PT MUSTIKA RATU Tbk

273 1263 22

PENERIMAAN ATLET SILAT TENTANG ADEGAN PENCAK SILAT INDONESIA PADA FILM THE RAID REDEMPTION (STUDI RESEPSI PADA IKATAN PENCAK SILAT INDONESIA MALANG)

43 322 21

KONSTRUKSI MEDIA TENTANG KETERLIBATAN POLITISI PARTAI DEMOKRAT ANAS URBANINGRUM PADA KASUS KORUPSI PROYEK PEMBANGUNAN KOMPLEK OLAHRAGA DI BUKIT HAMBALANG (Analisis Wacana Koran Harian Pagi Surya edisi 9-12, 16, 18 dan 23 Februari 2013 )

64 565 20

PEMAKNAAN BERITA PERKEMBANGAN KOMODITI BERJANGKA PADA PROGRAM ACARA KABAR PASAR DI TV ONE (Analisis Resepsi Pada Karyawan PT Victory International Futures Malang)

18 209 45

STRATEGI KOMUNIKASI POLITIK PARTAI POLITIK PADA PEMILIHAN KEPALA DAERAH TAHUN 2012 DI KOTA BATU (Studi Kasus Tim Pemenangan Pemilu Eddy Rumpoko-Punjul Santoso)

119 459 25