ESP32 Display Controller and Graphics Library

◆ moveFocus()

uiWindow * moveFocus ( int  delta)

Move focus to a control with current focus index plus a delta.

A focused window partecipates to the TAB "trip", respecting the tab-order (see uiWindow.focusIndex()). Calling moveFocus(1) is the same of pressing TAB. Calling moveFocus(-1) is the same of pressing SHIFT-TAB.

deltaSpecifies how many controls pass (1 = next control, -1 = previous control)
Previous focused window

Definition at line 665 of file fabui.cpp.