✨ add support to force trigger the `ValueChanged` event with ctrl+enter by heartacker · Pull Request #39 · Dirkster99/NumericUpDownLib

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

@heartacker

in order to support user's application logic like rewrite/repeat-same-value

@heartacker heartacker changed the title ✨ add support to force tigger the ValueChanged event with ctrl+enter ✨ add support to force trigger the ValueChanged event with ctrl+enter

Jul 2, 2022

@Dirkster99

This branch has a conflict - can you please resolve it?

  1. Please explain why Ctrl+Enter would be necessary at all?
  2. Whether Ctrl+Enter always available or could be configured out?
…ion logic like rewrite/repeat-same-value

@heartacker

@Dirkster99

  1. I notice that we have to change the value(mouse click/up down arrow key/type with different value) if we want to raise the value Changed event. I want to trigger the value change event with the same value for some application logic. eg: we write value to chips through the value event, sometimes we need to rewrite the value/repeat writing. thus, we could use this to raise the valueChanged event with the same value
  2. ctrl+entr is always on.

I can not get a better way to satisfy my scenario. so I think ctrl+enter is a good way.
because we could trigger by enter. and may be ctrl+enter is better shortcut to force trigger

2 participants

@heartacker @Dirkster99