I’ve been searching through the listbox properties, but I couldn’t find a way to change the colour of the gridlines in a listbox.
Am I overlooking a property or is it only possible through the CellbackgroundPaint?
Thank you.
I’ve been searching through the listbox properties, but I couldn’t find a way to change the colour of the gridlines in a listbox.
Am I overlooking a property or is it only possible through the CellbackgroundPaint?
Thank you.
You would have to draw it yourself in CellbackgroundPaint.
[quote=38734:@Andre Veelbehr]I’ve been searching through the listbox properties, but I couldn’t find a way to change the colour of the gridlines in a listbox.
Am I overlooking a property or is it only possible through the CellbackgroundPaint?
Thank you.[/quote]
Not sure what you need in a ListBox, but if you’d like full control over how gridlines are drawn, you could try SSG_ListBox, which is a ground-up implementation of a ListBox replacement and comes with full source code. You can download a demo app here. Sign in as guest.
Ok thanks.