Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C++ Builder XE プログラムで文字列グリッドを白と空色の 2 色で使用したいと考えています。奇数生の白と偶数生の空色を作りたいので、どうすればできるか教えてください。
C++ Builder XEでこれを行うのを手伝ってください
OnDrawCellすべてのセルを自分で手動で描画するには、イベントを使用する必要があります。Canvasその後、描画中にグリッドに必要な色を割り当てることができます。
OnDrawCell
Canvas