How can I print the contents of one cell so that it extends into the next cell to the right. The cell on the right is blank. In an HTML table, what I'm trying to do would be equivalent to spanning two cells. How can this be done in a tstringgrid?

In OnDrawCellCanvas I can draw the large cell, extending further to the right.My problem is that the blank cell to the right overwrites that text. The cells are drawn from left to right. I'm drawing in the OnDrawCellCanvas procedure and the canvas for each cell gets filled with the background color before it reaches OnDrawCellCanvas. How can I avoid that?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.