store each number as a double in the cellTag (the example below has 1 column and uses RowTag)…
in the listbox.PaintCellText event use something similar to the sample below to draw whatever you want in the cell, exactly where you want. You can have the text drawn and aligned, in colour, highlighted, add little icons if you wish, etc. It even works for hierarchical listboxes, noting that the x-coordinate is shifted right for each level.
Note you must return true from the listbox.PaintCellText handler for it to take effect.
Thanks Nicholas. The problem is not with the paint event - I have similar code in there already, but as I tried to illustrate with the image it is EditCell which is the problem - this is where the activeTextControl should work with its formatting - but it always seems left and top aligned.
I haven’t looked at this in a while, but I have a vague recollection of this not working unless I set the properties later using a Timer.CallLater. I don’t have the time or ability currently to check, but that’s what I’m thinking.