Style.HasFocus (gb.qt4)

Const HasFocus As Integer = 2

This flag indicates that a control has the focus.

With gb.gtk3, this flag is returned only if the control has the focus and if it must be indicated to the user.