Ignore:
Timestamp:
Oct 1, 2009 10:15:08 AM (13 years ago)
Author:
srkline
Message:

A variety of changes...

  • fixed model strings for Sum_Model
  • /Z flag for RTHelp, Transmission help, FIT help, MRED help
  • added help and done buttons to SASCALC
  • added comments in MonteCarlo?
  • restored the 2-line buttons in USANS panels, now supported in Igor 6.1 (COR_Graph and Main_USANS)
  • added simple text notebook of UCALC configuration, and a save of PNG of the whole panel
  • added help and done buttons to UCALC
  • added links in SANS_Reduction_Help to the simluation help file (not added to SVN yet)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/SASCALC.ipf

    r558 r564  
    379379        PopupMenu popup0_2,pos={108,127},size={55,20},proc=DeltaLambdaPopMenuProc 
    380380        PopupMenu popup0_2,mode=2,value= root:Packages:NIST:SAS:gDeltaLambdaStr 
    381         Button FreezeButton title="Freeze",size={60,20},pos={307,166} 
     381        Button FreezeButton title="Freeze",size={60,20},pos={180,166} 
    382382        Button FreezeButton proc=FreezeButtonProc 
    383         Button ClearButton title="Clear",size={60,20},pos={377,166} 
     383        Button ClearButton title="Clear",size={60,20},pos={250,166} 
    384384        Button ClearButton proc=S_ClearButtonProc 
    385385        GroupBox group0,pos={6,1},size={108,36},title="Instrument" 
     
    395395        CheckBox checkSim,value=0 
    396396         
     397        // help, done buttons 
     398        Button SC_helpButton,pos={340,166},size={25,20},proc=showSASCALCHelp,title="?" 
     399        Button SC_helpButton,help={"Show help file for simulation of SANS Data"} 
     400        Button SC_DoneButton,pos={380,166},size={50,20},proc=SASCALCDoneButton,title="Done" 
     401        Button SC_DoneButton,help={"This button will close the panel"} 
     402 
    397403        // set up a fake dependency to trigger recalculation 
    398404        //root:Packages:NIST:SAS:gCalculate := ReCalculateInten(root:Packages:NIST:SAS:gTouched) 
    399405EndMacro 
     406 
     407//clean up 
     408Proc SASCALCDoneButton(ctrlName): ButtonControl 
     409        String ctrlName 
     410        DoWindow/K SASCALC 
     411        DoWindow/K Trial_Configuration 
     412        DoWindow/K Saved_Configurations 
     413        DoWindow/K MC_SASCALC 
     414        DoWindow/K Sim_1D_Panel 
     415end 
     416 
     417// 
     418Proc showSASCALCHelp(ctrlName): ButtonControl 
     419        String ctrlName 
     420        DisplayHelpTopic/K=1/Z "SASCALC" 
     421        if(V_flag !=0) 
     422                DoAlert 0,"The SANS Simulation Help file could not be found" 
     423        endif 
     424end 
    400425 
    401426// based on the instrument selected... 
Note: See TracChangeset for help on using the changeset viewer.