Page 1 of 1

xbrowse bug pressing ESC key

Posted: Tue Apr 22, 2008 10:24 am
by Marco Turco
Hi,
there is a bug in xbrowse (FWH April) when it is in a dialog and an ESC key is pressed when the xbrowse has the focus.

This is a self-contained that show the problem
www.softwarexp.co.uk/beta/xtest.zip

Try to press the esc key and you will see that the exit confirm clause will be called two times.

Any solution ?

Thanks in advance

Posted: Tue Apr 22, 2008 5:38 pm
by Antonio Linares
Marco,

Please comment the line 1611 in source\classes\xbrowse.prg:

// PostMessage( ::oWnd:hWnd, WM_KEYDOWN, VK_ESCAPE )