Philippe Lang
2007-Jan-31 21:23 UTC
[fxruby-users] Backspace in an FXText does not generate a SEL_REPLACED event
Hi, Backspace in an FXText does not generate a SEL_REPLACED event, although return, and all other keys do. Is that normal? Philippe Lang
Jeroen van der Zijp
2007-Jan-31 21:39 UTC
[fxruby-users] Backspace in an FXText does not generate a SEL_REPLACED event
On Wednesday 31 January 2007 15:23, Philippe Lang wrote:> Hi, > > Backspace in an FXText does not generate a SEL_REPLACED event, although > return, and all other keys do. Is that normal?You need to catch SEL_DELETED, SEL_INSERTED, and SEL_REPLACED; not just SEL_REPLACED only. FXText is going through a bit of an overhaul for 1.7, and I welcome any comments for improvements. - Jeroen