FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Little bug in TComboBox
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Little bug in TComboBox
Posted: Thu Feb 16, 2006 09:45 AM
ESC key doesn't close the DIALOG if the focus is on a CBS_DROPDOWN combobox:

#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


EMG

Continue the discussion