Ignore:
Timestamp:
Jul 22, 2009 5:43:18 PM (14 years ago)
Author:
srkline
Message:

(1) changes to ProDiv? to get the linear scaling correct with the new panel.

(2) bug fix in NCNR_Utils in file open dialog

(3) assorted changes to SASCALC and Simulation procedures to allow 1D simulation of data collection. 2D is now hidden and will be brought back later, as needed.

File:
1 edited

Legend:

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

    r530 r541  
    107107         
    108108        //then update the popup list 
    109         PatchPopMenuProc("PatchPopup",1,"") 
     109        // (don't update the list - not until someone enters a search critera) -- Jul09 
     110        // 
     111        SetMatchStrProc("",0,"*","")            //this is equivalent to finding everything, typical startup case 
     112 
    110113End 
    111114 
     
    301304        ControlUpdate PatchPopup 
    302305        PopupMenu PatchPopup,mode=1 
    303         ShowHeaderButtonProc("SHButton") 
     306         
     307        if(strlen(list) > 0) 
     308                ShowHeaderButtonProc("SHButton") 
     309        endif 
    304310End 
    305311 
     
    318324        String partialName, tempName 
    319325        Variable ok 
    320         ControlInfo patchPopup 
    321         If(cmpstr(S_value,"")==0) 
     326        ControlInfo/W=Patch_Panel PatchPopup 
     327        If(strlen(S_value)==0) 
    322328                //null selection 
    323329                Abort "no file selected in popup menu" 
     
    603609Proc Patch_Panel() 
    604610        PauseUpdate; Silent 1      // building window... 
    605 //      NewPanel /W=(519,85,950,608)/K=1 as "Patch Raw SANS Data Files" 
    606         NewPanel /W=(519,85,950,608) as "Patch Raw SANS Data Files" 
     611        NewPanel /W=(519,85,950,608)/K=1 as "Patch Raw SANS Data Files" 
     612//      NewPanel /W=(519,85,950,608) as "Patch Raw SANS Data Files" 
    607613        DoWindow/C Patch_Panel 
    608614        ModifyPanel cbRGB=(1,39321,19939) 
Note: See TracChangeset for help on using the changeset viewer.