FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Mget & Esc
Posts: 284
Joined: Mon Oct 24, 2005 08:04 PM
Mget & Esc
Posted: Fri Jun 23, 2006 02:20 PM

All,

Pressing Esc does not close a dialog with a mget control when the mget control has focus as it does in fw 16-bit. I have several modal dialogs with mget controls and our users are accustomed to being able to close the dialog by pressing Esc. How can I change this?

Thanks,
Randal Ferguson

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Mget & Esc
Posted: Fri Jun 23, 2006 08:55 PM
The following sample works fine here (latest FWH and latest xHarbour from CVS):

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg

    LOCAL cVar := "This is a test"

    DEFINE DIALOG oDlg;
           SIZE 400, 400

    @ 0, 0 GET cVar MEMO;
           SIZE 100, 100

    ACTIVATE DIALOG oDlg;
             CENTER

    RETURN NIL


EMG
Posts: 284
Joined: Mon Oct 24, 2005 08:04 PM
Mget & Esc
Posted: Mon Jun 26, 2006 01:49 PM

EMG,

After much searching I discovered I was linking an old verison of dialog.prg source. Thanks.

Randal

Continue the discussion