Syntax
xBool ListBoxSetFBlock( ListBox *listBox, ListBoxBlock fBlock );
Arguments
listBox the list box.
fBlock a C function that receives the list when it gains or loses focus, or NULL to clear the callback.
Return value
T on success, or F if the object is NULL.
Description
The callback receives a `ListBox *` so it can read the new focus state with `ListBoxGetHasFocus()` and retrieve application data with `ListBoxGetCargo()`. The xBase block takes no implicit arguments.