Go to Post Grease your gearboxes folks! Gears need grease, otherwise they kerplode. - s_forbes [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-06-2015, 07:09
Scorpio01 Scorpio01 is offline
Registered User
no team
 
Join Date: Jun 2015
Location: SA
Posts: 2
Scorpio01 is an unknown quantity at this point
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
  #2   Spotlight this post!  
Unread 09-06-2015, 08:01
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
  #3   Spotlight this post!  
Unread 09-06-2015, 08:14
Scorpio01 Scorpio01 is offline
Registered User
no team
 
Join Date: Jun 2015
Location: SA
Posts: 2
Scorpio01 is an unknown quantity at this point
Re: HOW TO CHANGE LISTBOX TO LABELS

Thanks Alan for your response.
  #4   Spotlight this post!  
Unread 09-06-2015, 09:35
Monochron's Avatar
Monochron Monochron is offline
Engineering Mentor
AKA: Brian O'Sullivan
FRC #4561 (TerrorBytes)
Team Role: Engineer
 
Join Date: Feb 2007
Rookie Year: 2002
Location: Research Triangle Park, NC
Posts: 890
Monochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond repute
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:04.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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