User Tools

Site Tools


macros:property:handles.sourcehandle.lockstate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

macros:property:handles.sourcehandle.lockstate [2019/05/05 14:28] (current)
icke_siegen created
Line 1: Line 1:
 +Titan Property
  
 +====== Handles.SourceHandle.LockState ======
 +
 +^ API | http://​api.avolites.com/​11.0/​Handles.SourceHandle.LockState.html |
 +^ description | Gets or sets the lock state of the current source handle. |
 +^ [[:​macros:​namespace]] | [[:​macros:​namespace:​Handles.SourceHandle]] |
 +^ type | [[:​macros:​type:​enum]] |
 +^ values | Unlocked, FullyLocked,​ TransparentLocked |
 +
 +== example ==
 +
 +<code xml>
 +<​step>​ActionScript.SetProperty.Enum("​Handles.SourceHandle.LockState",​ "​FullyLocked"​)</​step>​
 +<​step>​Handles.SetLockState(Handles.SourceHandle.LockState)</​step>​
 +</​code>​
 +
 +> Setting the property on its own is not enough as it is only used for display purposes and does not update the handle properties when it is changed. Since the SetLockState function requires an Enum type and not a string you need to either create an Enum value using Math.ToEnum or set Handles.SourceHandle.LockState to the correct value and pass that in.
 +
 +== used in ==
 +
 +{{backlinks>​.}}
macros/property/handles.sourcehandle.lockstate.txt ยท Last modified: 2019/05/05 14:28 by icke_siegen