Little bug in TComboBox
Posted: Thu Feb 16, 2006 9:45 am
ESC key doesn't close the DIALOG if the focus is on a CBS_DROPDOWN combobox:
EMG
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL cVar := ""
DEFINE DIALOG oDlg
@ 1, 1 COMBOBOX cVar;
ITEMS { "First", "Second", "Third" };
STYLE CBS_DROPDOWN
@ 3, 1 BUTTON "&Close" ACTION oDlg:End()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL