Prev: Updating the VB EXE
Next: Array of pointers
From: Phil Hunt on 7 Oct 2009 21:23 I have a listbox that I set ItemData as I populate the list. It also set to Sort=true. When I access the list, the ItemData are all 0. Anyway to get around it ? Funny thing is if the data is loaded in the sorted order, the ItemData sticks, weird. TIA
From: Bob Butler on 7 Oct 2009 21:36 "Phil Hunt" <phung1010(a)hotmail.com> wrote in message news:OHgnDY7RKHA.4020(a)TK2MSFTNGP05.phx.gbl... >I have a listbox that I set ItemData as I populate the list. It also set to >Sort=true. When I access the list, the ItemData are all 0. Anyway to get >around it ? Funny thing is if the data is loaded in the sorted order, the >ItemData sticks, weird. How are you setting ItemData? You should be using the NewIndex property
From: Phil Hunt on 7 Oct 2009 21:48 That was it. Thansk. "Bob Butler" <noway(a)nospam.ever> wrote in message news:OhTy3f7RKHA.1792(a)TK2MSFTNGP04.phx.gbl... > > "Phil Hunt" <phung1010(a)hotmail.com> wrote in message > news:OHgnDY7RKHA.4020(a)TK2MSFTNGP05.phx.gbl... >>I have a listbox that I set ItemData as I populate the list. It also set >>to Sort=true. When I access the list, the ItemData are all 0. Anyway to >>get around it ? Funny thing is if the data is loaded in the sorted order, >>the ItemData sticks, weird. > > How are you setting ItemData? You should be using the NewIndex property > >
|
Pages: 1 Prev: Updating the VB EXE Next: Array of pointers |