Skip to content

Commit 0b36878

Browse files
committed
Store horizontal scroll position in listbox
This is not stored by default for compatibility to Igor Pro 5, see the help on "hscroll" of Listbox.
1 parent 5833720 commit 0b36878

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

procedures/CodeBrowser_hooks.ipf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ Function initializePanel()
5151
debugPrint("Error: SetIgorOption returned " + num2str(V_flag))
5252
endif
5353

54+
Execute/Z/Q "SetIgorOption recreateListboxHScroll=1"
55+
if (!(V_flag == 0))
56+
debugPrint("Error: SetIgorOption returned " + num2str(V_flag))
57+
endif
58+
5459
SetIgorHook AfterCompiledHook=updatePanel
5560
debugPrint("AfterCompiledHook: " + S_info)
5661

0 commit comments

Comments
 (0)