Newbie: Question about ListViews?
-
I am trying to insert an item at a specific index. However it puts the new item at the end of the list. Not where it is needed. There is only one exception to this. If I switch the view to 'list' it puts the item in the correct place. Does the 'Items.Insert(5, lvitem)' command only work when in the 'list' view? If so, what is the best way of ordering items and adding items where I would like them to be put? Thanks in advance, Phil
"Rules are for the obedience of fools and the guidance of wise men"
-
I am trying to insert an item at a specific index. However it puts the new item at the end of the list. Not where it is needed. There is only one exception to this. If I switch the view to 'list' it puts the item in the correct place. Does the 'Items.Insert(5, lvitem)' command only work when in the 'list' view? If so, what is the best way of ordering items and adding items where I would like them to be put? Thanks in advance, Phil
"Rules are for the obedience of fools and the guidance of wise men"
Phillip Hodges wrote:
Does the 'Items.Insert(5, lvitem)' command only work when in the 'list' view?
No, but the behavior is effected by having more than one "group". I was researching this but never got back to it. My next phase was going to look at using the "group" interface for inserting.
led mike
-
Phillip Hodges wrote:
Does the 'Items.Insert(5, lvitem)' command only work when in the 'list' view?
No, but the behavior is effected by having more than one "group". I was researching this but never got back to it. My next phase was going to look at using the "group" interface for inserting.
led mike
Thanks for that... Will look into it... Phil
"Rules are for the obedience of fools and the guidance of wise men"
-
Thanks for that... Will look into it... Phil
"Rules are for the obedience of fools and the guidance of wise men"