27 Mart 2010 Cumartesi

Alt+F4 Tuşu ile Proğramı Kapatma

Formun OnCreate olayına;
KeyPreview := true;
Formun OnKeyDown olayına;
if ((ssAlt in Shift) and (Key = VK_F4)) then
Key := 0;

Hiç yorum yok:

Yorum Gönder