Indeed, ListBox would be useless without a focus, what i ment was, and perhaps i didn't explained it well enough is the lined rect, you know
when you use Custom drawItem and lbOwnderDraw method.
I have a listbox with multicolor (background) for items. That is fine and working. Also when itemIndex is changed i draw a rect (FillRect) and selected item receives a focus, that is fine also. What isn't is that there is also a gray hollow rectangle on selected item and that is the one
i would like to remove or paint in Fillrect color if possible so it isn't visible.
look at attached picture, that gray rectangle is what i would like to remove somehow.
... i looked at some Delphi questions for the same thing and it mentioned that the value for that particular focus rect is XORed on original
Fillrect color, if i understood articles correctly. But i can't figure out how to turn it off in Lazarus.
Any ideas?