Closing Window (MDI-Child) with Escape

Closing Window (MDI-Child) with Escape

Postby gkuhnert » Fri Dec 12, 2008 10:46 am

Hi,

with wbrowse, a MDI-Child window will close, if you press "ESC", but a xbrowse-window won't. Is there a possibility to close a xbrowse-window also with "ESC"?
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands

Postby Antonio Linares » Mon Dec 15, 2008 7:33 am

Gilbert,

oBrw:bKeyChar = { | nKey | If( nKey == VK_ESCAPE, oWnd:End(), nKey ) }
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41408
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby gkuhnert » Mon Dec 15, 2008 9:18 am

Antonio,

thanks, works fine! :D
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Willi Quintana and 36 guests