View Single Post
Aaron
Senior Member
Lone Wolf Staff
 
Join Date: Oct 2011
Posts: 6,791

Old February 25th, 2016, 07:38 PM
Well, damn. I hadn't realized we split off the 5e branch that long ago. I feel like I've been using foctoclass forever. Alright, here is the content of the procedure, and I'll make sure to set the procedure up in the core program for 5e before next release.

foctoclass procedure
Code:
      doneif (isroot = 0)

      if (root.tagis[component.Class] <> 0) then
        perform root.setfocus
      elseif (root.tagis[component.Configure] <> 0) then
        perform root.setfocus
      else
        if (root.islinkage[table] <> 0) then
          perform root.linkage[table].setfocus
        elseif (root.islinkage[varies] <> 0) then
          perform root.linkage[varies].setfocus
          endif
        endif

    doneif (state.isfocus = 0)

    ~ We could also be in a table on a configureable, so stop if that is where
    ~ we are.
    doneif (focus.tagis[component.Configure] <> 0)
Aaron is offline   #12 Reply With Quote