User Tools

Site Tools


macros:function:handles.setlockstate

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:function:handles.setlockstate [2018/08/25 20:01] – ↷ Links adapted because of a move operation icke_siegenmacros:function:handles.setlockstate [2019/05/04 16:14] (current) icke_siegen
Line 8: Line 8:
 ^ description | Set the lock state of a handle | ^ description | Set the lock state of a handle |
 ^ [[macros:namespace|namespace]] | [[macros:namespace:handles]] | ^ [[macros:namespace|namespace]] | [[macros:namespace:handles]] |
-^ parameter | state ( [[macros:type:LockStates]] ) : "Unlocked", "TransparentLocked" or "FullyLocked" |+^ parameter | state ( [[macros:type:enum]] ) : "Unlocked", "TransparentLocked" or "FullyLocked" |
 ^ return value | [[macros:type:void]] | ^ return value | [[macros:type:void]] |
 ^ affects | [[macros:property:handles.sourcehandle]] | ^ affects | [[macros:property:handles.sourcehandle]] |
  
 == Example in ==  == Example in == 
-[[macros:example:createworkspaces]]+[[macros:example:setplaybacklockstate|]]
  
 <code xml> <code xml>
-  <step>Handles.SetSourceHandle("Playbacks", 0)</step> +  <step>Handles.SetSourceHandle("PlaybackWindow", 0)</step> 
-  <step>Handles.SetLockState(TransparentLocked)</step>+  <step>ActionScript.SetProperty.Enum("Handles.SourceHandle.LockState", "FullyLocked")</step> 
 +  <step>Handles.SetLockState(Handles.SourceHandle.LockState)</step>
 </code> </code>
  
-Puts a transparent lock on handle #1 of the current playbacks page.+Puts a lock on handle #1 of the current playbacks page
 + 
 +Please note that the function expects an enum passed. See [[macros:example:setplaybacklockstate|]] for examples how to do this.
  
 == Also used in == == Also used in ==
  
 {{backlinks>.}} {{backlinks>.}}
- 
-== Remarks == 
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/function/handles.setlockstate.1535227273.txt.gz · Last modified: 2018/08/25 20:01 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki