hi guys
some of my components get focus when clicked and don’t lose focus.
they lose focus only when clicking anywhere
so i want to simulate mouse click
any idea ?
of course a solution for the main problem (focus) would be better
hi guys
some of my components get focus when clicked and don’t lose focus.
they lose focus only when clicking anywhere
so i want to simulate mouse click
any idea ?
of course a solution for the main problem (focus) would be better
Hi,
did you try existing method focus() ? :blink: It’s available for all AbstractField objects (buttons, fields…)
focus() ; makes the item focused
i want it to lose focus
Well, try focus object A so you will lose focus on object B (maybe add hidden field and set focus on it?) Or, try fire onMouseClick event on other object? Just guessing…