2.383 .topitem
The attribute .topitem specifies the item which shall be displayed at the top of a listbox or treeview.
The value of .topitem is corrected if the entry set as .topitem cannot be scrolled to the top of the object.
Definition
-
Data type
integer
-
Access
get, set
-
changed event
yes
Note on the treeview
Since the .topitem entry is always visible, the sub-tree containing this entry cannot be closed programmatically in a visible treeview. This sub-tree may be closed interactively because a higher-level entry must be accessible for this purpose. This ensures that the current .topitem is always above the set .topitem.