hobanj
asked on
Delphi 4.0 TListBox - ItemIndex
Does anyone know if Inprise intends to patch the TList component so that the ItemIndex property is -1 initially until it is set? My Delphi 3.0 programs will not work correctly under 4.0, and I would like to upgrade when this is fixed.
Thanks.
Jim Hoban (hobanj@jsc.mil) 9/28/98
Thanks.
Jim Hoban (hobanj@jsc.mil) 9/28/98
hi
why don't you try to do it by yourself?
simply make a new component with the anchestor TListBox,
override the constructor and set there the itemindex to -1,
perhaps this works
(I have d3, so i can't test it)
regards
rene
why don't you try to do it by yourself?
simply make a new component with the anchestor TListBox,
override the constructor and set there the itemindex to -1,
perhaps this works
(I have d3, so i can't test it)
regards
rene
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
there are lots of bugs in Delphi4. Even in Tlistbox (if at first time after creation you set itemindex:=0 nothing will be marked).
But those are the minor bugs.
i went back to D3. There are some bugs too, but i know them. i have no time to find the bugs of inprise !
i call it "banana-software".
good luck !
titz