Solved

Delphi 4.0 TListBox - ItemIndex

Posted on 1998-09-28
3
534 Views
Last Modified: 2012-06-21
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
0
Comment
Question by:hobanj
3 Comments
 
LVL 1

Expert Comment

by:titz
ID: 1341059
hi jim,
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
   
0
 
LVL 2

Expert Comment

by:rene100
ID: 1341060
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

0
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 100 total points
ID: 1341061
Hang on there!  Delphi 4 has patches that fix many things, including the very serious TListBox ItemIndex bug.

(Jim, your question mentions TList but the title mentions TListBox.  I assume you are referring all the time to TListBox.)

The patches are available from Inprise, but are quite big for downloading (about 8MB each for Professional and Client/Server).

Patches fix several other things too, including problems with the IDE.
But the TListBox one is a biggie!

JB
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now