Drivecombobox merupakan komponen yang hebat dimana begitu komponen ini dipasang akan langsung mendetek seluruh drive, tapi sayangnya drivecombobox tidak bisa langsung mendeteksi drive baru/removable, tapi dengan kode berikut hal tersebut tidak jadi masalah. :)
procedure TForm1.DriveComboBox1DropDown(Sender: TObject); var Drive : char; begin Drive := DriveComboBox1.Drive; TNewDriveComboBox(DriveComboBox1).BuildList; DriveComboBox1.Drive := Drive; end;
selamat mencoba.
Random Articles
- Insert/Update image into DB via SQL-Command
- Membuat random angka tanpa ada data kembar
- Mengunci Regedit, MSCONFIG, TaskMngr, dll
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
- Tool pembersih memori leak
- PascalClass #1: Analisa Database dan Machine Learning
- Menentukan Harga Proyek
- Mengandakan nama folder seperti virus
- Tulisan berjalan di form Delphi
- Membuat kontrol db aware
Last Articles
Recent Topic
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
by LuriDarmawan in Tutorial & Community Project more 3 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 3 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 3 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 4 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