eugene
2011-04-04 21:15:59 UTC
Hi everyone,
I'm trying to use ::ttk::treeview (Windows XP, ActiveTcl 8.5.9.1) and
I see the following behavior when scrolling the contents of this
control with PgUp/PgDn keys: current selection doesn't follow the
view, it stays unchanged and so can be easily lost out of sight. In
other words, if I select some item and scroll away pressing PgDn, and
then use Up/Down arrow keys, current view suddenly jumps back to show
the selected item and change the selection to previous/next item. I
find this inconsistent with the typical expected list control behavior
under Windows - i.e. the selection always stays inside the current
view. So, is there any way to make ::ttk::treeview move the selection
just like SysListView32 does?
I'm trying to use ::ttk::treeview (Windows XP, ActiveTcl 8.5.9.1) and
I see the following behavior when scrolling the contents of this
control with PgUp/PgDn keys: current selection doesn't follow the
view, it stays unchanged and so can be easily lost out of sight. In
other words, if I select some item and scroll away pressing PgDn, and
then use Up/Down arrow keys, current view suddenly jumps back to show
the selected item and change the selection to previous/next item. I
find this inconsistent with the typical expected list control behavior
under Windows - i.e. the selection always stays inside the current
view. So, is there any way to make ::ttk::treeview move the selection
just like SysListView32 does?