nLockCounter = MTblLockPaint( hWndTbl )
Locks 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 ) ! Force repaint
This function increases an tables internal lock counter. If the counter is > 0, M!Table locks painting.
Paintings done by XSal are NOT locked.
Created with the Personal Edition of HelpNDoc: Create cross-platform Qt Help files