- Timestamp:
- Oct 1, 2009 10:15:08 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/SASCALC.ipf
r558 r564 379 379 PopupMenu popup0_2,pos={108,127},size={55,20},proc=DeltaLambdaPopMenuProc 380 380 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} 382 382 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} 384 384 Button ClearButton proc=S_ClearButtonProc 385 385 GroupBox group0,pos={6,1},size={108,36},title="Instrument" … … 395 395 CheckBox checkSim,value=0 396 396 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 397 403 // set up a fake dependency to trigger recalculation 398 404 //root:Packages:NIST:SAS:gCalculate := ReCalculateInten(root:Packages:NIST:SAS:gTouched) 399 405 EndMacro 406 407 //clean up 408 Proc 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 415 end 416 417 // 418 Proc 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 424 end 400 425 401 426 // based on the instrument selected...
Note: See TracChangeset
for help on using the changeset viewer.