Quintiq file version 2.0
#parent: ListInitElement
Response OnDrawElement (LibWiz_InitSelectionConditionElement element) id:Response_ListInitElement_OnDrawElement_337
{
  #keys: '[121114.1.2068666658]'
  Body:
  [*
    // OnDrawElement InitSelectionConditionElement
    i := 0;
    if( not element.IsEnabled() )
    {
      drawinfo.TextColor( Color::LightGray() );
    }
    else if( element.IsCompleted() )
    {
      drawinfo.Image( i , "CHECKEDCHECKBOX" );
      i++;
    }
    else if( element.IsSkipped() )
    {
      drawinfo.Image( i , "GRAYCHECKBOX" );
      i++;
    }
    else
    {
      drawinfo.Image( i , "EMPTYCHECKBOX" );
      i++;
    }
    
    if( element.IsCurrent() )
    {
      drawinfo.Image( i , "NAV_RIGHT_GREEN" );
      i++;
    }
    
    drawinfo.Image( i , "BRANCH_ELEMENT" );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_List_OnDrawElement'
}
