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
920
Default numeric editor to value other than minimum when control is NULL
posted

Hi

I have several ultraNumericEditors on a form.  I have set the minimum  and maximum values for the controls as -500 to 500.  The functionality I want to implement is when the spin button is clicked and the value of the control is NULL, the value of the control should be 0 rather than -500. 

I think the only way to do this is to implement EditorSpinButtonClick.  Is there some sample code on how to implement EditorSpinButtonClick event?

Let me know.

Cheers

James

Parents
  • 53790
    posted

    Hi

    winsql said:
    I have set the minimum  and maximum values for the controls as -500 to 500.

    You already set these properties, but I suggest you to set also

    ultraNumericEditor1.MinValue = -500;
    ultraNumericEditor1.MaxValue = 500;
    ultraNumericEditor1.Value = 0;

    Please check it and send me feedback
    Regards

Reply Children