10-14-2009 09:47 AM
Hello
I think i've read somwhere that it is posible to fill in a number of table rows without updating the screen imidiatly.
The update should be done when all cells/rows are initialized in order to speed up the screen update.
Is this just my imagination ?
10-14-2009 10:58 AM
Per:
Have you looked at SetTableCellRangeVals()? It has less overhead than individual calls to SetTableCellVal().
Or if you need to update individual cells (if they're not in a block so you can use a range of cells), you can use SetTableCellAttribute(). Here's a note from the help on SetTableCellVal():
Note This function updates the displayed value immediately. Use SetTableCellAttribute with ATTR_CTRL_VAL to set the control value without immediately updating the displayed value. Because of the difference in behavior, SetTableCellAttribute with ATTR_CTRL_VAL is generally faster than SetTableCellVal. However, if the table control in which you set the cell value is the active control in the panel, SetTableCellAttribute with ATTR_CTRL_VAL displays the value immediately.
10-14-2009 03:29 PM