Solved

easy question..

Posted on 2001-06-28
3
146 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

840 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