Quintiq file version 2.0
#parent: #root
Method SelectListObjects (
  internal[WebList] list,
  structured[Object] objects
) id:Method_ApplicationMacroPlanner_SelectListObjects
{
  #keys: '[139394.0.93370174]'
  Body:
  [*
    // Select objects in the list
    list.ClearSelection();
    
    // Focus the list else the newly created element will not be selected
    list.Focus();
    
    traverse( objects, Elements, e )
    {
      list.ExtendSelectByKey( e.Key() );
    }
  *]
}
