MTblUnlockPaint
nLockCounter = MTblUnlockPaint( hWndTbl )
Unlocks table painting.
Parameters
hWndTbl
Window Handle: Handle of the table
Return
Number: New value of the lock counter or TBL_Error if an error occured
Example
In this example the painting is locked before and unlocked after inserting rows:
Call MTblLockPaint( hWndTbl )
Set n = 0
Set nRows = 1000
While n < nRows
Call SalTblInsertRow( hWndTbl, TBL_MaxRow )
Set n = n + 1
Call MTblUnlockPaint( hWndTbl )
Call SalInvalidateWindow( hWndTbl ) ! Repaint
Remarks
This function decreases an tables internal lock counter. If the counter is < 1, M!Table unlocks painting.
The table is NOT repainted by this function. Call SalInvalidateWindow to repaint the table.
See also
MTblLockPaint
Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor