开发者

Alternet raw color in StringGrid in C++ Builder XE

开发者 https://www.devze.com 2023-03-26 04:17 出处:网络
I want to use string grid in my C++ Builder XE Program in two alternate color of white & sky blue.

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

精彩评论

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