我使用HyperTreeList
来在第一列中显示名称的项目列表,并在第二列中显示“删除”按钮。我编写了一个函数来过滤树中显示的内容,其中包含TextCtrl
. 为了隐藏TreeListItems
,我这样做:
treelist.HideItem(branch, True)
其中 treelist 是 a HyperTreeList
, branch 是 a TreeListItem
。第一列隐藏得很好,但第二列中的按钮都没有隐藏。如何让 aTreeListItem
中的所有列隐藏?