- Timestamp:
- Jul 22, 2009 5:43:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/PatchFiles.ipf
r530 r541 107 107 108 108 //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 110 113 End 111 114 … … 301 304 ControlUpdate PatchPopup 302 305 PopupMenu PatchPopup,mode=1 303 ShowHeaderButtonProc("SHButton") 306 307 if(strlen(list) > 0) 308 ShowHeaderButtonProc("SHButton") 309 endif 304 310 End 305 311 … … 318 324 String partialName, tempName 319 325 Variable ok 320 ControlInfo patchPopup321 If( cmpstr(S_value,"")==0)326 ControlInfo/W=Patch_Panel PatchPopup 327 If(strlen(S_value)==0) 322 328 //null selection 323 329 Abort "no file selected in popup menu" … … 603 609 Proc Patch_Panel() 604 610 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" 607 613 DoWindow/C Patch_Panel 608 614 ModifyPanel cbRGB=(1,39321,19939)
Note: See TracChangeset
for help on using the changeset viewer.