Microsoft DirectX 9.0

AMTimelineObj.SetLocked Method

The SetLocked method sets the object's editing state to locked or unlocked. A locked state indicates that the object should not be edited; an unlocked state indicates that the object can be edited. The timeline does not enforce the lock. The locked setting exists only for the convenience of the application.

Syntax

object.SetLocked(
    newVal As Long
)

Parameters

newVal

Value that specifies the object's editing state. If zero, the object is unlocked and can be edited. If non-zero, the object is locked and should not be edited.

Error Codes

If the method fails, an error is raised.

See Also