nLockCounter = MTblUnlockPaint( hWndTbl )
Unlocks table painting.
Window Handle: Handle of the table
Number: New value of the lock counter or TBL_Error if an error occured
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
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.
Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor