When the focus is in a NumericEditor text box and the user press F4 key for example, the calculator is shown. After the user enters a value in the calculaor, for example after calculation, the user may either press OK button or the Cancel button in the calculator. What events or triggers should we catch so we can know that the user has pressed the OK button and then add the calculator text in the editor, or if it is a cancel button do nothing.
If the user clicks okay, the value is automatically transferred to the text portion of the control. You don't have to handle an event or write code to do this.
Hi Mike,
I looked at the UltraCalculatorDropDown and found out that it had its own text box, and so pressing ok would put the text in that editor. But, our requirement is different. We are inhereting the NumericTextBox and then adding the drop down calculator as a invisible control. We want to transfer the text inside the caculator editor to another text box.
koolmike90 said:I looked at the UltraCalculatorDropDown and found out that it had its own text box, and so pressing ok would put the text in that editor. But, our requirement is different. We are inhereting the NumericTextBox and then adding the drop down calculator as a invisible control. We want to transfer the text inside the caculator editor to another text box.
Oh, okay. That was not at all clear from your original post - especially since the title of this post mentioned UltraCalculatorDropDown. :)
If you are using UltraNumericEditor with an EditorDropDownButton, then it's up to you to handle the click event of the OK button and update the Value of the UltraNumericEditor yourself.