COMBOBOX and ON KEY
Posted: Mon Oct 10, 2011 4:02 pm
Usally I use the ESC and Ctrl-S keys to do the same as pressing the OK or Cancel-button in my program when the user is changing some data.
That works in all cases except if a COMBOBOX control has the focus. In this case only ESC ist working, Ctrl-S not.
I found nothing in combobox.prg that can cause this, so it must be deeper (in CONTROL or BASIC class?). Any idea?
Code: Select all
ON KEY ESCAPE of Form_x action DoSomething( Form_x )
ON KEY CONTROL+S of Form_x action DoSomethingElse( Form_x )
I found nothing in combobox.prg that can cause this, so it must be deeper (in CONTROL or BASIC class?). Any idea?