01-17-2025 04:00 AM
So I am trying to color each row in my listbox as such where the colors are defined in an array fille with color box constant but for some reason the first element is not getting colored properly. Does anybody know why?
01-17-2025 06:27 AM
Is the first row selected? This would make the first row appear in another color.
Right-Click listbox -> Selection Mode -> Highlight entire Row.
01-17-2025 06:31 AM
Hi, no the first row isn't selected. I managed to solve the issue by changing the data type of the listbox from scalar to array. But I would still like to know why it didn't work in the first place. What did this change to exactly?
01-17-2025 06:43 AM - edited 01-17-2025 06:45 AM
@Asasafuchi wrote:
Hi, no the first row isn't selected. I managed to solve the issue by changing the data type of the listbox from scalar to array. But I would still like to know why it didn't work in the first place. What did this change to exactly?
No, is selected. Try it this way:
For me it works: