| | | | Browse by category |
Article ID: 46
Last updated: 16 Apr, 2018
Problem
p>If I call SetRowHeight() or SetColWidth() after I have changed the standard font, the row height/column width is not stored correctly. If I redraw the grid, and then call SetRowHeight() everything works fine.
Cause
Action
You have to call:
UpdateFontMetrics(); |
after you change the standard font.
The reason why it works fine after redrawing the grid is that in the grid draw method, UpdateFontMetrics() will be called automatically.
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 46
Last updated: 16 Apr, 2018
Revision: 3
Views: 2508
Posted: 12 Jan, 2001 by
Meltreger B.
Updated: 16 Apr, 2018 by
Meltreger B.
Others in this category
Powered by KBPublisher (Knowledge base software)