Solved

easy question..

Posted on 2001-06-28
3
147 Views
Last Modified: 2010-04-06
I want to change tha caption of label when i change the item on combobox. Example i want to change my labels caption to 'sys' when i choose sys from combobox.

Ignore me i am beginner..
0
Comment
Question by:systemop
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
MarcG earned 20 total points
ID: 6234607
procedure Combobox1OnChange(Sender : TObject);
begin
  label1.caption := ComboBox1.text;
end;

//should work like this
0
 
LVL 3

Expert Comment

by:MarcG
ID: 6234609
oh, ComboBoxOnChange is the OnChange event for the ComboBox
0
 

Author Comment

by:systemop
ID: 6234865
Thanks for your help to a beginner
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 359
Create a path if not exists 7 108
control image tags in a string ? 12 153
Typecasting TBytes to Integer in Delphi XE8 2 38
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

726 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