Know if a component has focus active

How can I know if a component has focus active ? I am get list of components using
ComponentsHelper.getComponents

From collection I want search if a component has focus active, but I didn’t find any method to know that.

Hi,

There is no such method. But if you describe you task in more details, we can try to suggest something.

Gleb

I’d like with a shortcut get current focus of components that implement WebV8AbstractField interface, to show a popup or something, with meta data informations about Column database. For now I solved adding to description component property this information

I’d recommend adding a shortcut listener to some root layout and obtain a currently focused component from its event object.

Take a look at this online demo.

Gleb