4Misc_Start<#4PlatformžÁ@9èVersionCheckè ¬xHHô@îÿîÿRg(üšHHdh ¬xHHô@îÿîÿRg(üšHHdh ¬x HHddg(üšHHdh ^Graph*.pWDashSettings#úÿ  !4 4 4 4 4 4 phome<<dÿÿÿÿhd:Old Stuff:2023:2023-08-30:IRecentWindows3D Graphics.ihfAdvanced Topics.ihfAnalysis of Functions.ihfAnalysis.ihfAnnotations.ihfCategory Plots.ihfCommands.ihfContour Plots.ihfControls.ihfCurve Fitting.ihfData Folders.ihfDebugging.ihfDemoLoader.ipfDemoPanelIgor Reference.ihfInteracting with the User.ihf 4Misc_End<#”XOPState_Start`<#SQL6420Stuff/2023/2023-08-30/VISA64lysis of Fucton.ifXTest3-64Annotations.ihfXTestStructs64ommands.ihfXTest7-64hfControls.ihfP`WaveRefTest-64a Folders.ihfVDT2-64hfDemoLoader.ipfàXOP1-64 Reference.ihfXTest2-64e User.ihfNetCDF64÷$ü &K$üNIGPIB2-644XOPState_End<#\•ShowDemoPanel() !² òZº’DcQáDcQáticketListWaveð?ð?ð?ð?AAPLIBMMSFT90.2586.4017.17 *¹// Platform=Macintosh, IGORVersion=9.020, architecture=Intel, systemTextEncoding="MacRoman", historyTextEncoding="UTF-8", procwinTextEncoding="UTF-8", recreationTextEncoding="UTF-8", build=39337 #pragma TextEncoding = "UTF-8" Silent 101 // use | as bitwise or -- not comment. DefaultFont "Helvetica" MoveWindow/P 132,48,1071,955 MoveWindow/C 4,785,1211,1022 DemoPanel() KillStrings/Z root:gWMSetNextTextFilesTextEncoding Window DemoPanel() : Panel PauseUpdate; Silent 1 // building window... NewPanel /K=1 /W=(321,120,621,320) ListBox TickerList,pos={48.00,16.00},size={200.00,100.00},proc=ListBoxHook ListBox TickerList,fSize=12,listWave=root:ticketListWave,mode=1,selRow=0 EndMacro  #pragma TextEncoding = "UTF-8" #pragma rtGlobals=3 // Use modern global access method and strict wave access #pragma DefaultTab={3,20,4} // Set default tab width in Igor Pro 9 and later Menu "Macros" "Show Demo Panel", /Q, ShowDemoPanel() End Function ListBoxHook(lba) : ListBoxControl STRUCT WMListboxAction &lba switch (lba.eventCode) case 1: // Mouse down // Printf "Mouse down\r" break case 2: // Mouse up // Printf "Mouse up\r" break case 4: // Mouse up Printf "Cell selection row %d\r", lba.row break endswitch return 0 End Function ShowDemoPanel() DoWindow/F DemoPanel if (V_flag != 0) return 0 // Panel already exists. endif // Create panel data. Make/O/T ticketListWave = {{"AAPL","IBM","MSFT"}, {"90.25","86.40","17.17"} } // Create panel. NewPanel /N=DemoPanel /W=(321,121,621,321) /K=1 ListBox TickerList,pos={48,16},size={200,100},fSize=12 ListBox TickerList,listWave=root:ticketListWave ListBox TickerList,mode= 1,selRow= 0, proc=ListBoxHook End