I can not make the checkbox LostFocus and GotFocus work. The checkbox Changed does work. It seems to be a bug. A simple program with a single checkbox that changes the background colour to red for Changed, green for LostFocus and Blue for GotFocus only ever changes to red. If the Changed event is deleted, then colour never changes from its initialised colour of none even though the LostFocus and GotFocus events are there.
The checkbox LostFocus and GotFocus events does not seem to work. The checkbox Changed does work. A simple program with a single checkbox that changes the background colour to red for Changed, green for LostFocus and Blue for GotFocus only ever changes to red. If the Changed event is deleted, then colour never changes from its initialised colour of none even though the LostFocus and GotFocus events are there.
To quote @ewpatton
The original use of the GotFocus/LostFocus events were when Android phones had trackballs to navigate the UI. Focus would move when you moved the trackball highlight over a component (e.g., button). In the days of touch screens and no trackballs, the events still exist but are likely only triggered in limited circumstances.
The same issue applies to buttons, as to checkboxes