Log in

View Full Version : HOW TO CHANGE LISTBOX TO LABELS


Scorpio01
09-06-2015, 07:09
Please I need help.
I want to select a text inside a listbox and then display a description about that slected text in a labelform.

Example if I select 'Delphi' in the list box then it should display a label saying 'Programming'.

Label1.Caption := Listbox1.Items.strings[ListBox1.itemindex] only displays the word 'Delphi' once I select it.

PLEASE any one

Alan Anderson
09-06-2015, 08:01
Is this a question about the Delphi programming language? It's possible that someone here can help you, but you have misunderstood the purpose of these forums. This participants here are involved in a robotics competition program and its parent organization called FIRST. The name "Delphi" in "Chief Delphi" refers to one of the team sponsors, not to the language.

Scorpio01
09-06-2015, 08:14
Thanks Alan for your response.

Monochron
09-06-2015, 09:35
I think the Embarcadero forums (https://forums.embarcadero.com/index.jspa) would be a better place for help. There is a good C++ Builder and Delphi support group there.