Quintiq file version 2.0
#parent: #root
Method SetComponentProperty (
  internal[WebComponent] webcomponent,
  Boolean canedit
) id:Method_SWF_DialogCreateEditUser_SetComponentProperty
{
  #keys: '[136682.0.943669725]'
  Body:
  [*
    // Set editor property
    if ( webcomponent.istype( WebEditField ))
    {
      webcomponent.astype( WebEditField).Enabled( canedit, "" );
    }
  *]
}
