Open Ummon opened 8 years ago
I create my own TextBox :
type DigitBox() as this = inherit TextBox() // [..] override this.OnTextChanging(e: TextChangingEventArgs) = printfn "OnTextChanging, e.Text: %A" e.Text // [..]
When the user select the textbox content (was "2" for instance) and type one key ("3" in this example), OnTextChanging is called twice:
OnTextChanging
OnTextChanging, e.Text: "3" OnTextChanging, e.Text: ""
I think the order isn't correct and the calls should be swapped.
Eto.Forms and Eto.Platform.Gtk3 version: 2.2.0
Thanks for reporting the issue! I'll take a look. It is probably GTK3 specific, but I'll check GTK2 as well.
I create my own TextBox :
When the user select the textbox content (was "2" for instance) and type one key ("3" in this example),
OnTextChanging
is called twice:I think the order isn't correct and the calls should be swapped.
Eto.Forms and Eto.Platform.Gtk3 version: 2.2.0