WindowUtilities.FixFocus

Forces lost focus on the active control in a Window to force the selected control to databind. Typical scenario: Toolbar clicks (which don't cause a focus change) don't see latest control state of the active control because it doesn't know focus has changed. This forces the active control to unbind

public static void FixFocus(Window window,
	Control control)

Parameters

window
Active window

control
Control to force focus to briefly to force active control to bind


See also:

Class WindowUtilities

© West Wind Technologies, 2019 • Updated: 01/06/19
Comment or report problem with topic