source: sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Test_RAW_Panel.ipf @ 975

Last change on this file since 975 was 975, checked in by srkline, 7 years ago

adding more functions for VSANS infrastructure

File size: 917 bytes
Line 
1#pragma rtGlobals=3             // Use modern global access method and strict wave access.
2
3
4// this will become the equivalent of "RawWindowHook"
5
6
7
8
9
10Window VSANS_Data() : Panel
11        PauseUpdate; Silent 1           // building window...
12        NewPanel /W=(37,45,1042,784)
13        ShowTools/A
14        TabControl tab0,pos={13,111},size={572,617},proc=VDataTabProc,tabLabel(0)="Front"
15        TabControl tab0,tabLabel(1)="Middle",tabLabel(2)="Back",value= 2
16        Button button0,pos={619,135},size={140,20}
17        Button button0_1,pos={769,135},size={140,20}
18        Button button0_2,pos={623,189},size={140,20}
19        Button button0_3,pos={773,189},size={140,20}
20        Button button0_4,pos={622,247},size={140,20}
21        Button button0_5,pos={772,247},size={140,20}
22EndMacro
23
24
25
26Function VDataTabProc(tca) : TabControl
27        STRUCT WMTabControlAction &tca
28
29        switch( tca.eventCode )
30                case 2: // mouse up
31                        Variable tab = tca.tab
32                        break
33                case -1: // control being killed
34                        break
35        endswitch
36
37        return 0
38End
Note: See TracBrowser for help on using the repository browser.