Mget & Esc

Mget & Esc

Postby Randal » Fri Jun 23, 2006 2: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
Randal
 
Posts: 260
Joined: Mon Oct 24, 2005 8:04 pm

Re: Mget & Esc

Postby Enrico Maria Giordano » Fri Jun 23, 2006 8:55 pm

The following sample works fine here (latest FWH and latest xHarbour from CVS):

Code: Select all  Expand view
#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
User avatar
Enrico Maria Giordano
 
Posts: 8600
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Randal » Mon Jun 26, 2006 1:49 pm

EMG,

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

Randal
Randal
 
Posts: 260
Joined: Mon Oct 24, 2005 8:04 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 93 guests