- Timestamp:
- May 4, 2011 9:47:33 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_KR_Parser.ipf
r798 r800 383 383 Variable/G root:KR_Npt = 100 384 384 385 FFT_MakeMatrixButtonProc("") 386 385 387 NewPanel /W=(241,44,1169,458)/N=MultiCyl/K=1 as "Multi-Cylinder" 386 388 ModifyPanel cbRGB=(49825,57306,65535) 387 389 388 Button button_0,pos={45, 79},size={100,20},proc=KR_Show3DButtonProc,title="Show 3D"390 Button button_0,pos={45,80},size={100,20},proc=KR_Show3DButtonProc,title="Show 3D" 389 391 Button button_1,pos={46,51},size={100,20},proc=KR_Plot1DButtonProc,title="Plot 1D" 390 392 Button button_2,pos={178,80},size={120,20},proc=KR_DoCalcButtonProc,title="Do Calculation" 393 Button button_3,pos={600,50},size={120,20},proc=KR_DeleteRow,title="Delete Row(s)" 391 394 ValDisplay valdisp_0,pos={339,16},size={80,13},title="FFT_T" 392 395 ValDisplay valdisp_0,limits={0,0,0},barmisc={0,1000},value= #"root:FFT_T" … … 433 436 endif 434 437 438 break 439 endswitch 440 441 return 0 442 End 443 444 Function KR_DeleteRow(ba) : ButtonControl 445 STRUCT WMButtonAction &ba 446 447 switch( ba.eventCode ) 448 case 2: // mouse up 449 450 GetSelection table, MultiCyl#T0,3 451 // Print V_flag, V_startRow, V_startCol, V_endRow, V_endCol 452 DoAlert 1, "Do want to delete rows "+num2Str(V_StartRow)+" through "+num2str(V_endRow)+" ?" 453 if(V_flag==1) 454 DeletePoints V_StartRow,(V_endRow-V_StartRow+1),xx,yy,zz,rri,hti,sbp,rotx,roty,sld 455 endif 456 435 457 break 436 458 endswitch
Note: See TracChangeset
for help on using the changeset viewer.