Mget & Esc

Post Reply
Randal
Posts: 250
Joined: Mon Oct 24, 2005 8:04 pm

Mget & Esc

Post 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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Mget & Esc

Post 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
Randal
Posts: 250
Joined: Mon Oct 24, 2005 8:04 pm

Post by Randal »

EMG,

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

Randal
Post Reply