Page 1 of 1

Mget & Esc

Posted: Fri Jun 23, 2006 2:20 pm
by Randal
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

Re: Mget & Esc

Posted: Fri Jun 23, 2006 8:55 pm
by Enrico Maria Giordano
The following sample works fine here (latest FWH and latest xHarbour from CVS):

Code: Select all

#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

Posted: Mon Jun 26, 2006 1:49 pm
by Randal
EMG,

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

Randal