Search:
|
Browse by category:
|
| | | |
|
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.
Prev | Next | |
Objective Grid: Changing the default printer settings | Objective Grid: Numeric entry in an edit cell |