List Info

Thread: Backspace in an FXText does not generate a SEL_REPLACED event




Backspace in an FXText does not generate a SEL_REPLACED event
user name
2007-01-31 15:23:04
Hi,

Backspace in an FXText does not generate a SEL_REPLACED
event, although
return, and all other keys do. Is that normal?

Philippe Lang
_______________________________________________
fxruby-users mailing list
fxruby-usersrubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/fxruby-users

Re: Backspace in an FXText does not generate a SEL_REPLACED event
user name
2007-01-31 15:39:46
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
_______________________________________________
fxruby-users mailing list
fxruby-usersrubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/fxruby-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )