FR [ 1660167 ] Usability: close date calendar using escape key

This commit is contained in:
teo_sarca 2007-02-15 00:01:32 +00:00
parent 1cada0302a
commit bc6594a2be
1 changed files with 8 additions and 0 deletions

View File

@ -706,6 +706,14 @@ public class Calendar extends CDialog
dispose();
return;
}
// ESC = Cancel - teo_sarca, [ 1660164 ]
if (e.getKeyCode() == KeyEvent.VK_ESCAPE)
{
m_cancel = true;
dispose();
return;
}
// Modified Hour/Miinute
setTime();