View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 17th, 2012, 04:16 PM
Special Transition: Focus

Often, you'll need to do a lot of typing in order to travel to a particular thing. There's a special transition called the focus transition that you can use to "save your place", so that you don't have to do lots of typing if you need to do multiple things there.


Places you can travel to:
  • focus
    • Test: state.isfocus
    • travels to the pick context that's been assigned as the focus
Instructions you can give:
  • setfocus
    • Only available in a pick context
    • Sets the focus to this pick
  • state.clearfocus
    • Available from all contexts
    • Clears the focus if it's been set (and does nothing if no focus was set).

Last edited by Mathias; June 17th, 2012 at 05:26 PM.
Mathias is offline   #6 Reply With Quote