Release 1.6.1 29 June 2005 |
Developer's reference |
![]() |
Reference > N_XLS_FORMAT > of_set_locked |
of_set_locked() method
Prevent modification of a cells contents
Syntax
format.of_set_locked ( option ) |
Parameters
option | A boolean value that controls whether cell is locked |
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs.
Description
Cell locking is turned on by default. However, it only has an effect if the worksheet has been protected. See of_protect() method.
Examples
format.of_set_locked ( false )
© 2003-2005 Desta, Ltd. All rights reserved. | SupportDesk |