Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8546

Eto NumericUpDownWithUnitParsing controls value change behaviour

$
0
0

@marton.parlagh wrote:

I would like to make my Eto controls work similarly to standard Rhino controls.

Which means:
user changes the value and accepts it by pressing enter or by pressing escape he/she can cancel the change.
I use the NumericUpDownWithUnitParsing controls. Can I achieve something similar?

There is an update mode for the control which can be changed, for example
NumericUpDownWithUnitParsingUpdateMode.OnEnterOrLoseFocus

but it is not the same, doesn’t react for enter or esc. I have tried to add this extra manually, but I can not force commit or cancel the change.

Also the right side arrows for these steppers are only steppers. Is there an easy way to make these similar to Rhino controls where the user can drag these and change the values more interactively?

Thank you,
Márton

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8546

Trending Articles