Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
490
How to Disable the UltraNumericEditor without disabling the StateEditorButton inside
posted

I've got a check box, a StateEditorButton, inside an UltraNumericEditor. The idea is to block input to the UltraNumericEditor when the checkbox is checked out.

I do that with the AfterCheckStateChanged event.

The problem is when I disable the UltraNumericEditor, the StateEditorButton gets also disabled. In that case, the user can't enable it again by checking in the checkbox.

What's the best solution to this scenario?

Shall I remove the StateEditorButton from the buttons collection of the UltraNumericEditor and implement it independently?