Applies to

All

Format

true/false

Default value

false

This parameter is true if this control currently has focus.

This is also a special read-only global parameter. Calling winget() with no id and focus as the parameter will return the id of the currently focused control, if any.

See also

winget proc