Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   HOW TO CHANGE LISTBOX TO LABELS (http://www.chiefdelphi.com/forums/showthread.php?t=137472)

Scorpio01 09-06-2015 07:09

HOW TO CHANGE LISTBOX TO LABELS
 
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

Re: HOW TO CHANGE LISTBOX TO LABELS
 
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

Re: HOW TO CHANGE LISTBOX TO LABELS
 
Thanks Alan for your response.

Monochron 09-06-2015 09:35

Re: HOW TO CHANGE LISTBOX TO LABELS
 
I think the Embarcadero forums would be a better place for help. There is a good C++ Builder and Delphi support group there.


All times are GMT -5. The time now is 01:45.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi