Combox and escape

Post Reply
Jack
Posts: 249
Joined: Wed Jul 11, 2007 11:06 am

Combox and escape

Post by Jack »

Hello,
I have 3 combo in a dialog .
When the user select a combo to view all the items and then press Esc,
all the dialog is closed and not only the combo list .

How to close only the combo List ??

REDEFINE COMBOBOX oCb8 VAR wG[36] ITEMS VPROBA ;
STYLE CBS_DROPDOWN ;
COLOR "B*/W+" ;
ID 131 OF oDlgrv
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Combox and escape

Post by anserkk »

Dear Mr.Jack,

Which FWH version do you use?.

This problem is fixed in FWH 8.12
* New: Class TComboBox Method KeyDown(). An open combobox on a dialog will properly close when Escape is pressed and the dialog will not be closed.
Regards

Anser
Jack
Posts: 249
Joined: Wed Jul 11, 2007 11:06 am

Re: Combox and escape

Post by Jack »

Thanks for this help,
I is working .

Thanks !
Post Reply