Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl column width simple question
Re: GridCtrl column width simple question [message #21059 is a reply to message #21056] |
Wed, 29 April 2009 11:47   |
|
Please turn off column repainting when adding columns:
void Grid_Write(int row, int col, char *str)
{
grid.Ready(false);
if (row > grid.GetRowCount()-1) {
for (int i = grid.GetRowCount(); i < row+1; ++i)
grid.AddRow("", 100);
}
grid.Ready(true);
}
This must be done only in Proportional mode and only if you're adding columns when grid is visible.
[Updated on: Wed, 29 April 2009 11:48] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Jul 06 14:39:37 CEST 2025
Total time taken to generate the page: 0.04403 seconds
|