Ignore:
Timestamp:
Dec 5, 2007 9:44:27 AM (15 years ago)
Author:
srkline
Message:

Globalfit now adds the correct graph to the report whether or not the progress graph is displayed.

Wrapper now has a button for feedback, position to be determined later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/Packages/Wrapper.ipf

    r211 r223  
    6363        //change draw order to put button over text of checkbox 
    6464        Button button_0,pos={520,93},size={100,20},proc=DoTheFitButton,title="Do 1D Fit" 
     65        Button button_4,pos={520,130},size={100,20},proc=FeedbackButtonButtonProc,title="Feedback" 
    6566 
    6667        Edit/W=(20,174,634,435)/HOST=#   
     
    6970        SetActiveSubwindow ## 
    7071EndMacro 
     72 
     73//open the trac page for feedback 
     74Function FeedbackButtonButtonProc(ba) : ButtonControl 
     75        STRUCT WMButtonAction &ba 
     76 
     77        switch( ba.eventCode ) 
     78                case 2: // mouse up 
     79                        // click code here 
     80                        OpenTracTicketPage() 
     81                        break 
     82        endswitch 
     83 
     84        return 0 
     85End 
     86 
    7187 
    7288//obvious use 
Note: See TracChangeset for help on using the changeset viewer.