Jump to content

Recommended Posts

Hi all,

I need some help with delphi.

I have 3 TLabels and a Tbutton on my application.

Tlabel1.Caption := 2;

Tlabel2.Caption := 4;

When I press the Tbutton, I want it to minus TLabel2.Caption from TLabel1.Caption, and display the output in Tlabel3.

TLabel1 and TLabel2 are not constants ie. they are the result of other maths equations.

Hope i didn't make it too confusing.

Thanks a lot!

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...