digitalmars.D.dwt - DFL TextBox, how to prevent key presses handled by default handler ?
- Sai (12/12) Dec 04 2006 In DFL textBox, I have a handler to get key-press events
- Chris Miller (4/16) Dec 04 2006 Fixed in today's snapshot. Thanks for letting me know about this.
- Sai (3/10) Dec 05 2006 Thank you
In DFL textBox, I have a handler to get key-press events textBox.keyPress ~= &onCmdKeyPress; Where onCmdKeyPress is my key handler: void onCmdKeyPresss(Object obj, KeyEventArgs kea) { // my code kea.handled = true; } Irrespective of what I do with kea.handled, the key pressed is always appearing in the text box, how can I prevent it ? Thanks in advance Sai
Dec 04 2006
On Mon, 04 Dec 2006 18:32:06 -0500, Sai <dummy dummy.com> wrote:In DFL textBox, I have a handler to get key-press events textBox.keyPress ~=3D &onCmdKeyPress; Where onCmdKeyPress is my key handler: void onCmdKeyPresss(Object obj, KeyEventArgs kea) { // my code kea.handled =3D true; } Irrespective of what I do with kea.handled, the key pressed is always appearing in the text box, how can I prevent it ? Thanks in advance SaiFixed in today's snapshot. Thanks for letting me know about this. http://wiki.dprogramming.com/Dfl/Snapshots - Chris
Dec 04 2006
Thank you Sai Chris Miller wrote:On Mon, 04 Dec 2006 18:32:06 -0500, Sai <dummy dummy.com> wrote: Fixed in today's snapshot. Thanks for letting me know about this. http://wiki.dprogramming.com/Dfl/Snapshots - Chris
Dec 05 2006