Posted 8 September 2017, 1:18 pm ESTI would like to have a cell type similar to the Progress CellType. The difference is that I want to be able to have the progress or the bar to be drawn from the center of the cell instead. The left edge of the cell may be -10 and the right edge would be +10 so a value of +5 would draw the bar from the center to 3/4 of the width of the cell. I am sure that I will have to do some custom painting using an ownerdrawn cell type or something like that. If there is an example of doing something similar please point me to it.
Progress CellType Start from the Center of the Cell
Posted by: sean-miller on 8 September 2017, 1:18 pm EST
Replied 8 September 2017, 1:18 pm EST
You would need to create a custom celltype and override the PaintCell method to paint the cell as you like. I do not have any examples specific to a custom progress celltype, but if you search on PaintCell, you would find many examples of custom celltypes in Spread for WIndows Forms.