08-26-2018, 09:53 AM
(08-25-2018, 05:51 PM)José Nilton Pace Wrote: I don't understand very well are you trying to do. In asyncchange the component don't lose focus. In delphi side component.SetFocus; works. in JavaScript $("component").focus(); works too.
I'm using the scriptevents OnChange event, in this i check the user input, if it isn't valid i show an alert with an error message and i would give back the focus to the same control using the $("component").focus(); but this isn't working, the focus go always to the next control.