newObjects-logo.gif (1024 bytes) ScriptManager2 reference
locked property

read only

Returns the value that indicates is the component locked for the namespaces management.

variable = object.locked

variable boolean true if the script host is locked and false if not
object ScriptManager2 Previously created ScriptManager2 object

Remarks:

This property can be used also to indicate the state of the script - true (running or connected), false (stopped or not loaded). When this property has a value of true Clear and Remove methods will fail - that means the namespaces collection is locked.

See also:

C++ Helper SCPHOSTCLNT::IsLocked method

newObjects Copyright newObjects 2001-2005