setIndex() for ListView and TreeView
- Posted by Rad Jul 28, 2009
- 834 views
Hi,
SetIndex(Control Id, Index) is supposed to work for ListViews, Combo, and TreeView for setting index as :
Index Value : 0 = No element Selected 1 = Select First element -1 = Select Last element
First 2 values work for all thre controls, but last -1 works only for Combo. It does not work for ListView and TreeView.
How to set Focus and Index to last element after addition to ListView or TreeView?
Thanks & Regards, Rad.