Ignore:
Timestamp:
Apr 25, 2008 10:49:50 AM (14 years ago)
Author:
srkline
Message:

Adding error handling if the proper help file could not be found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.10/ProtocolAsPanel.ipf

    r303 r316  
    932932Function ShowProtoHelp(ctrlName) : ButtonControl 
    933933        String ctrlName 
    934         DisplayHelpTopic/K=1 "SANS Data Reduction Tutorial[Build a Data Reduction Protocol]" 
     934        DisplayHelpTopic/Z/K=1 "SANS Data Reduction Tutorial[Build a Data Reduction Protocol]" 
     935        if(V_flag !=0) 
     936                DoAlert 0,"The SANS Data Reduction Tutorial Help file could not be found" 
     937        endif 
    935938End 
    936939 
Note: See TracChangeset for help on using the changeset viewer.