nCurrentlyLocked = MTblQueryLockedColumns( hWndTbl )

Retrieves the number of currently locked columns.

Window Handle: Handle of the table

Number: Number of columns if successful or negative if an error occurs


Set nCurrentlyLocked = MTblQueryLockedColumns( hWndTbl ) 

In opposite to SalTblQueryLockedColumns, which simply gives you the value which was set with SalTblSetLockedColumns, this function gives you the number of currently locked columns. The number of currently locked columns is different to the number of locked columns when the visible locked columns together are wider than the client area of the table.

Created with the Personal Edition of HelpNDoc: Free Kindle producer