Peter Schilling
2020-07-01T15:59:39Z
Hello Igor,

if the Content of a cell is cut of because of the cell-size, you are showing a tooltip with the complete String of that cell.
I need to replace this tooltip with my own tooltip but didn't figure out where to do this.

Is there a special event for this kind of tooltip or can I disable this standard behaviour?

Thanks,
Peter
Igor/10Tec
2020-07-03T14:44:13Z
Peter, the RequestCellToolTipText event allows you to do what you need. You can change the tooltip text on-the-fly in an event handler of this event. For example, you can completely disable it or even add a custom tooltip to a cell with non-clipped text!
Peter Schilling
2020-07-04T14:38:40Z
Hello Igor,

ok, thank you! But I have another Issue about the cut-off Content of the cells.

The String is hopping a pixel up or the distance between the letters are changing at the moment where the content is cut off.

Is there no way of preventing this?

Greetings,
Peter
Igor/10Tec
2020-07-06T12:42:41Z
The new question must have been a separate thread with a dedicated topic.

That problem with hopping of clipped text is related to GDI+. We pass the same coordinates to output cell text, but Graphics.DrawString() may shift the cell up by 1 pixel if the text is clipped.

We have been already thinking about changing the cell text rendering engine to TextRenderer that does not have this problem, but it's not an easy task. Even if it can be possible for the screen output, this will not work in PrintManager because the native .NET implementation of printing is based on GDI+. But maybe, we'll eventually implement this option at least for the screen and leave it "as is" for PrintManager.