Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Finding the focusitem in a list

...

     For each(#Item) in(#List.Items)
     Continue (*Not #Item.Focus)
        #FocusItem <= #Item

...

     Leave
Endfor

A simpler technique however is to use the FocusItem property of the list.

...

     If (#List.FocusItem *isnot *Null)
        #FocusItem <= #List.FocusItem
     Endif

See also

All Component Classes

Technical Reference