Syntax
xBool ListBoxSetFocus( ListBox *listBox );
Arguments
listBox the list box.
Return value
T on success, or F if the object is NULL.
Description
On gaining focus, the list saves the cursor shape, hides the cursor, sets the focus flag and redraws with the focus colors. It then calls the focus callback if set. A list that already has focus returns `T` immediately. Call `ListBoxOpen()` to expand a closed drop-down.