Quintiq file version 2.0
#parent: #root
Method DetermineStatusImage () id:Method_SyncObjectBrowser_DetermineStatusImage
{
  #keys: '[127600.0.98427178]'
  Body:
  [*
    // Determine wheter to show the status image on the Toolbar.
    tooltip := '';
    image := '';
    visible := false;
    
    if( not isnull( MPSync ) ){
      MPSync.UIGetStatusImage( tooltip, image, visible );
      ImageValidMasterData.Visible( visible );
      ImageValidMasterData.Image( image );
      ImageValidMasterData.SetProperty( "Tooltip", tooltip )
    }
  *]
}
