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
50
Currency Editor - Is there a default to simulate Ctrl-Shift-Left on Focus
posted

Sorry if this is too obvious but I had no luck trying to find this default on the UltraCurrencyEditor.  By default if you tab to the ultracurrencyeditor that is databound to some existing value and you start typing in another value it appends to the number instead of overwriting it. I want to set up the control so that when a user tabs to the editor it highlights the whole number so that as they start typing it will write over whatever is there.

 

Thanks a lot,

 

Chris

Parents
No Data
Reply
  • 50
    posted

    Ok, So I'm halfway there, apparently the .SelectAll() will work to highlight the entire contents but only if the tab navigation on the ultracurrencyeditor is set to NextControl. 

    The default behavior of the control is still a little bit weird to me though because when you are starting out with an empty value databound to some decimal field the default amount is 0, when you tab into the control and want to write 5.00 you type in 5 press tab and you actually typed in 50 because that 5 just gets appended in front of the zero.

Children
No Data