开发者

Alternet raw color in StringGrid in C++ Builder XE

I want to use string grid in my C++ Builder XE Program in two alternate color of white & sky blue. I want to make odd raw white & even raw sky blue so please tell me how can i 开发者_C百科do it.

Please help me to do so in C++ Builder XE


You must use the OnDrawCell event to draw all of the cells yourself manually. You can then assign whatever colors you want to the grid's Canvas while drawing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜