FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ESC key on Combobox
Posts: 116
Joined: Thu Oct 13, 2005 05:14 PM
ESC key on Combobox
Posted: Tue Dec 30, 2008 10:11 AM
I seen last fwh812 changes about ESC key in TComboBox and I guess the combobox KeyDown method has to be:

METHOD KeyDown( nKey, nFlags ) CLASS TComboBox

if nKey == VK_ESCAPE .and. ::IsOpen()
::Close()
return 1
endif

return Super:KeyDown( nKey, nFlags )

Regards,
Roberto Parisi
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: ESC key on Combobox
Posted: Tue Dec 30, 2008 10:56 AM

Roberto,

Yes, you are right. Thanks! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion