回复 1楼417827155的帖子
这是需要自定义单元格类型,然后PaintCell来画单元格。
代码参考:
- Class CustomProgressBar
- Inherits FarPoint.Win.Spread.CellType.ProgressCellType
- Public Overrides Sub PaintCell(g As System.Drawing.Graphics, r As System.Drawing.Rectangle, appearance As FarPoint.Win.Spread.Appearance, value As Object, isSelected As Boolean, isLocked As Boolean, zoomFactor As Single)
- MyBase.PaintCell(g, New Rectangle(r.Right - 37, r.Y, 17, r.Height - 7), appearance, value, isSelected, isLocked, zoomFactor)
- End Sub
- End Class
复制代码 |