• Tidak ada hasil yang ditemukan

LAMPIRAN 1 Kode Program Menu Awal

N/A
N/A
Protected

Academic year: 2019

Membagikan "LAMPIRAN 1 Kode Program Menu Awal"

Copied!
15
0
0

Teks penuh

(1)

Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long

Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long

Private Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hwnd As Long, ByVal crey As Byte, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long

Private Declare Function GetSystemMenu Lib "user32" (ByVal hwnd As Long, ByVal bRevert As Long) As Long

Private Declare Function GetMenuItemCount Lib "user32" (ByVal hMenu As Long) As Long

Private Declare Function DeleteMenu Lib "user32" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long

Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

Private Const MF_BYPOSITION = &H400&

Private Sub cmdAboutMe_Click() frmAboutMe.Show

frmMenuUtama.Hide End Sub

Private Sub cmdKeluar_Click()

pesan = MsgBox("Terima Kasih... Apakah Anda Yakin?", vbInformation + vbYesNo, "Perhatian")

If pesan = vbYes Then End End Sub

Private Sub cmdPemakaianHuruf_Click() frmPemakaianHuruf.Show

(2)

Private Sub cmdPemakaianTandaBaca_Click() frmPemakaianTandaBaca.Show

frmMenuUtama.Hide End Sub

Private Sub cmdPenulisanKata_Click() frmPenulisanKata.Show

frmMenuUtama.Hide End Sub

Private Sub cmdPenulisanUnsurSerapan_Click() frmMenuUtama.Hide

frmPenulisanUnsurSerapan.Show End Sub

Private Sub Form_Load() Dim hMenu As Long

hMenu = GetSystemMenu(Me.hwnd, False) DeleteMenu hMenu, 6, MF_BYPOSITION End Sub

Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long

Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long

Private Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hwnd As Long, ByVal crey As Byte, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long

Private Declare Function GetSystemMenu Lib "user32" (ByVal hwnd As Long, ByVal bRevert As Long) As Long

Private Declare Function GetMenuItemCount Lib "user32" (ByVal hMenu As Long) As Long

(3)

Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

Private Const MF_BYPOSITION = &H400&

Private Sub Form_Load() Dim hMenu As Long

hMenu = GetSystemMenu(Me.hwnd, False) DeleteMenu hMenu, 6, MF_BYPOSITION End Sub

Private Sub cmdHome_Click() frmMenuUtama.Show

frmPemakaianTandaBaca.Hide End Sub

Private Sub cmdKeluar_Click()

pesan = MsgBox("Terima Kasih... Apakah Anda Yakin?", vbInformation + vbYesNo, "Perhatian")

If pesan = vbYes Then End End Sub

Private Sub cmdTandaElipsis_Click() frmPemakaianTandaBaca.Hide frmTandaElipsis.Show

End Sub

Private Sub cmdTandaGarisMiring_Click() frmPemakaianTandaBaca.Hide

frmTandaGarisMiring.Show End Sub

Private Sub cmdTandaHubung_Click() frmPemakaianTandaBaca.Hide frmTandaHubung.Show

End Sub

Private Sub cmdTandaKoma_Click() frmPemakaianTandaBaca.Hide frmTandaKoma.Show

(4)

Private Sub cmdTandaKurung_Click() frmPemakaianTandaBaca.Hide frmTandaKurung.Show

End Sub

Private Sub cmdTandaKurungSiku_Click() frmPemakaianTandaBaca.Hide

frmTandaKurungSiku.Show End Sub

Private Sub cmdTandaPenyingkatAtauApostrof_Click() frmApostrof.Show

frmPemakaianTandaBaca.Hide End Sub

Private Sub cmdTandaPetik_Click() frmPemakaianTandaBaca.Hide frmTandaPetik.Show

End Sub

Private Sub cmdTandaPetikTunggal_Click() frmPemakaianTandaBaca.Hide

frmTandaPetikTunggal.Show End Sub

Private Sub cmdTandaPisah_Click() frmPemakaianTandaBaca.Hide frmTandaPisah.Show

End Sub

Private Sub cmdTandaSeru_Click() frmPemakaianTandaBaca.Hide frmTandaSeru.Show

End Sub

Private Sub cmdTandaTanya_Click() frmPemakaianTandaBaca.Hide frmTandaTanya.Show

End Sub

Private Sub cmdTandaTitik_Click() frmPemakaianTandaBaca.Hide frmTandaTitik.Show

(5)

Private Sub cmdTandaTitikDua_Click() frmPemakaianTandaBaca.Hide

frmTandaTitikDua.Show End Sub

Private Sub cmdTandaTitikKoma_Click() frmPemakaianTandaBaca.Hide

frmTandaTitikKoma.Show End Sub

Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long

Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long

Private Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hwnd As Long, ByVal crey As Byte, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long

Private Declare Function GetSystemMenu Lib "user32" (ByVal hwnd As Long, ByVal bRevert As Long) As Long

Private Declare Function GetMenuItemCount Lib "user32" (ByVal hMenu As Long) As Long

Private Declare Function DeleteMenu Lib "user32" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long

Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

(6)

Private Sub Form_Load() Dim hMenu As Long

hMenu = GetSystemMenu(Me.hwnd, False) DeleteMenu hMenu, 6, MF_BYPOSITION End Sub

Private Sub cmdGabunganHurufKonsonan_Click() frmGabunganHurufKonsonan.Show

frmPemakaianHuruf.Hide End Sub

Private Sub cmdHurufAbjad_Click() frmHurufAbjad.Show

frmPemakaianHuruf.Hide frmMenuUtama.Hide End Sub

Private Sub cmdHurufDiftong_Click() frmHurufDiftong.Show

frmPemakaianHuruf.Hide frmMenuUtama.Hide End Sub

Private Sub cmdHurufKapital_Click() frmHurufKapital.Show

frmPemakaianHuruf.Hide frmMenuUtama.Hide End Sub

Private Sub cmdHurufKonsonan_Click() frmHurufKonsonan.Show

frmPemakaianHuruf.Hide frmMenuUtama.Hide End Sub

Private Sub cmdHurufMiring_Click() frmHurufMiring.Show

frmPemakaianHuruf.Hide frmMenuUtama.Hide End Sub

Private Sub cmdHurufTebal_Click() frmHurufTebal.Show

(7)

Private Sub cmdHurufVokal_Click() frmHurufVokal.Show

frmPemakaianHuruf.Hide frmMenuUtama.Hide End Sub

Private Sub cmdKeluar_Click()

pesan = MsgBox("Terima Kasih... Apakah Anda Yakin?", vbInformation + vbYesNo, "Perhatian")

If pesan = vbYes Then End End Sub

Private Sub Command2_Click() frmMenuUtama.Show

frmPemakaianHuruf.Hide End Sub

! " #

Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long

Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long

Private Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hwnd As Long, ByVal crey As Byte, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long

Private Declare Function GetSystemMenu Lib "user32" (ByVal hwnd As Long, ByVal bRevert As Long) As Long

Private Declare Function GetMenuItemCount Lib "user32" (ByVal hMenu As Long) As Long

Private Declare Function DeleteMenu Lib "user32" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long

(8)

y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

Private Const MF_BYPOSITION = &H400&

Private Sub Form_Load()

'menonaktifkan ikon Close' Dim hMenu As Long

hMenu = GetSystemMenu(Me.hwnd, False) DeleteMenu hMenu, 6, MF_BYPOSITION

Private Sub cmdBersihkan_Click() txtCari = ""

Private Sub cmdHome_Click() frmMenuUtama.Show

frmPenulisanUnsurSerapan.Hide End Sub

Private Sub cmdKeluar_Click()

pesan = MsgBox("Terima Kasih... Apakah Anda Yakin?", vbInformation + vbYesNo, "Perhatian")

If pesan = vbYes Then End End Sub

Private Sub listView_ItemClick(ByVal Item As

MSComctlLib.ListItem)

Dim intSelItem As Integer

intSelItem = Item

listView.LabelEdit = lvwManual

(9)

gintIdItem = listView.ListItems(intSelItem).ListSubItems(4).Text

End Sub

Private Sub InitConnection() Dim conDBString As String

conDBString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\UnsurSerapan.mdb"

Set gAdoConn = New ADODB.Connection

gAdoConn.ConnectionString = conDBString gAdoConn.Open

End Sub

Private Sub PopData(strtxtCari As String)

(10)

End If End With End Sub

Private Sub txtCari_Change() PopData (txtCari.Text) End Sub

$

%

Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long

Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long

Private Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hwnd As Long, ByVal crey As Byte, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long

Private Declare Function GetSystemMenu Lib "user32" (ByVal hwnd As Long, ByVal bRevert As Long) As Long

Private Declare Function GetMenuItemCount Lib "user32" (ByVal hMenu As Long) As Long

Private Declare Function DeleteMenu Lib "user32" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long

Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

Private Const MF_BYPOSITION = &H400&

Private Sub Form_Load() Dim hMenu As Long

(11)

Private Sub cmdBentukUlang_Click() frmBentukUlang.Show

frmPenulisanKata.Hide End Sub

Private Sub cmdBilanganAngka_Click() frmPenulisanKata.Hide

frmAngkadanBilangan.Show End Sub

Private Sub cmdGabunganKata_Click() frmGabunganKata.Show

frmPenulisanKata.Hide End Sub

Private Sub cmdHome_Click() frmPenulisanKata.Hide frmMenuUtama.Show End Sub

Private Sub cmdKataDasar_Click() frmKataDasar.Show

frmPenulisanKata.Hide End Sub

Private Sub cmdKataDepan_Click() frmPenulisanKata.Hide

frmKataDepan.Show End Sub

Private Sub cmdKataGanti_Click() frmKataGanti.Show

frmPenulisanKata.Hide End Sub

Private Sub cmdKataTurunan_Click() frmKataTurunan.Show

frmPenulisanKata.Hide End Sub

Private Sub cmdKeluar_Click()

pesan = MsgBox("Terima Kasih... Apakah Anda Yakin?", vbInformation + vbYesNo, "Perhatian")

(12)

Private Sub cmdPartikel_Click() frmPenulisanKata.Hide

frmPartikel.Show End Sub

Private Sub cmdSingkatanKata_Click() frmPenulisanKata.Hide

frmSingkatandanAkronim.Show End Sub

Private Sub cmdSiSang_Click() frmKataSidanSang.Show frmPenulisanKata.Hide End Sub

Private Sub cmdSukuKata_Click() frmSukuKata.Show

frmPenulisanKata.Hide End Sub

&

%

Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long

Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long

Private Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hwnd As Long, ByVal crey As Byte, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long

Private Declare Function GetSystemMenu Lib "user32" (ByVal hwnd As Long, ByVal bRevert As Long) As Long

Private Declare Function GetMenuItemCount Lib "user32" (ByVal hMenu As Long) As Long

(13)

Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

Private Const MF_BYPOSITION = &H400&

Private Sub Form_Load() Dim hMenu As Long

hMenu = GetSystemMenu(Me.hwnd, False) DeleteMenu hMenu, 6, MF_BYPOSITION End Sub

Private Sub Button1_Click() frmTandaTitik.Hide

frmSingkatandanAkronim.Show End Sub

Private Sub Button2_Click() frmTandaTitik.Hide

frmSingkatandanAkronim.Show End Sub

Private Sub cmdHome_Click() frmMenuUtama.Show

frmTandaTitik.Hide End Sub

Private Sub cmdKeluar_Click()

pesan = MsgBox("Terima Kasih... Apakah Anda Yakin?", vbInformation + vbYesNo, "Perhatian")

If pesan = vbYes Then End End Sub

Private Sub cmdPrev_Click() frmPemakaianTandaBaca.Show frmTandaTitik.Hide

End Sub

Private Sub Label102_Click() frmTandaTitik.Hide

(14)

'

()

Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long

Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long

Private Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hwnd As Long, ByVal crey As Byte, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long

Private Declare Function GetSystemMenu Lib "user32" (ByVal hwnd As Long, ByVal bRevert As Long) As Long

Private Declare Function GetMenuItemCount Lib "user32" (ByVal hMenu As Long) As Long

Private Declare Function DeleteMenu Lib "user32" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long

Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

Private Const MF_BYPOSITION = &H400&

Private Sub Form_Load()

'menonaktifkan ikon Close' Dim hMenu As Long

hMenu = GetSystemMenu(Me.hwnd, False) DeleteMenu hMenu, 6, MF_BYPOSITION

'Koneksi Database ke DataGrid' On Error Resume Next

Adodc1.ConnectionString =

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\novri\My Documents\my TA pictures\task\Tugas Akhir\Tugas Akhir Real\Abjad.mdb;Persist Security Info=False" Adodc1.RecordSource = "select*from HurufAbjad"

(15)

Private Sub cmdHome_Click() frmMenuUtama.Show

frmHurufAbjad.Hide End Sub

Private Sub cmdKeluar_Click()

pesan = MsgBox("Terima Kasih... Apakah Anda Yakin?", vbInformation + vbYesNo, "Perhatian")

If pesan = vbYes Then End End Sub

Referensi

Dokumen terkait

Pendidikan Tinggi sebagaimaria diatur daram suiat Keputusan pimpinan Pusat Muhammadiyah Nomor r70lKEpir.0/B/20id';entang penetapan Nornenklatur Unsur pernbantu pirnpina,

Hasil penelitian adalah sebagai berikut; (1) bahwa gaya kepemimpinan situasional kepala sekolah berpengaruh positif terhadap komitmen organisasi guru di SMK Pasundan 1 Kota

The next aim is to determine the minimum concentration of young betel fruit extract that is required to inhibit the growth of Staphylococcus aureus bacteria while determining

Kata kunci: Perkawinan, Adat Jawa,dan Muharram. Penelitian ini terfokus pada masyarakat yang menjalankan tradisi larangan menikah pada bulan Muharram. Adapun fokus penelitian

Hasil penelitian setelah dilakukan mandi dengan air hangat terhadap kualitas tidur lansia pada kelompok eksperimen, tingkat kualitas tidur lansia terlihat menurun,

Peranan irigasi dalam meningkatkan dan menstabilkan produksi pertanian tidak hanya bersandar pada produktifitas saja tetapi juga pada kemampuannya untuk meningkatkan faktor-faktor

Tiga tahapan penting dalam pembuatan tempe yaitu (1) hidrasi dan pengasaman biji kedelai dengan direndam beberapa lama (satu malam); (2) pemanasan biji kedelai, yaitu dengan

Kegiatan yang akan dilaksanakan melalui magang ini antara lain : mempelajari mekanisme pelaksanaan manajemen database pada institusi sasaran, diskusi dengan tenaga ahli di