Fungsi sederhana yang digunakan untuk memperoleh toggle-status dari suatu tombol di keyboard.
Misal; kamu tekan sembarang tombol (VK_NUMLOCK, VK_INSERT dll), maka fungsi akan memberikan hasil boolean on atau off.
Misal; kamu tekan sembarang tombol (VK_NUMLOCK, VK_INSERT dll), maka fungsi akan memberikan hasil boolean on atau off.
function GetToggleState(Key: integer): boolean; begin Result := Odd(GetKeyState(Key)); end; |
Random Articles
- Membuat sendiri UDF library bag.2
- Tool pembersih memori leak
- virus restart pc jika ada kata2 tertentu, delphi bisa bgt
- Membuat Fungsi Pembulatan Untuk Bilangan Desimal
- Trap database exception message
- Array yang menyenagkan!
- Lomba Hack-Shareware Aplikasi Delphi (spontanitas)
- Lazarus Release 2.2.4
- Yang Tidak Bisa Dilakukan Turbo Pascal #2
- procedure SendKey
Last Articles
Recent Topic
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 4 years ago - Tempat Latihan Posting
by LuriDarmawan in OOT more 5 years ago - Archive
- Looping lagi...
by idhiel in Hal umum tentang Pascal Indonesia more 12 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 12 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 12 years ago