Solved

easy question..

Posted on 2001-06-28
3
143 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now