Arsen

I am not sure that I understand what you want, but since you say that you are a 
beginner do you mean something as simple as three edit boxes with the third one 
showing the sum of the values of the other two?  E.g.

procedure TForm1.Button1Click(Sender: TObject);
begin
Edit3.Text:= inttostr((strtoint(Edit1.Text)+strtoint(Edit2.Text)));
end;

Forgive me if I'm insulting your intelligence with the above, but it's 
difficult to know exactly what you are trying to do.

Regards
Steve

 -----Original Message-----
From:   delphi-en@yahoogroups.com [mailto:[EMAIL PROTECTED]  On Behalf Of Arsen 
Khachatryan
Sent:   31 July 2006 15:18
To:     delphi-en@yahoogroups.com
Subject:        [delphi-en] The Calculation

HI ALL FRIENDS,
I HAVE A EDIT BOXES FOR CALCULATE NUMBERS.FOR EXAMPLE 
7:2 AND ETC. SOMETIMES THE SECOND VALUE WILL BE 0 AND WHEN THE USER PUTS A 0 
FOR EXAMPLE 8+0 GIVES A ERROR THAT 0 IS NOT A INTEGER OR NUMBER.ANY EXAMPLE FOR 
CALCULATION THAT CAN DO WITHOUT ERROR.FOR EXAMPLE IF THE SECOND VALUE IS 0 CAN 
CALCULATE NORMAL AS 8+0=8??
   
THANKS A LOT FOR THE EXPERTS THAT THEY ARE HELPING THE BEGGINERS LIKE ME.

***************************************************************************
This e-mail and any files transmitted with it are confidential. If you are not 
the intended recipient, any reading, printing, storage, disclosure, copying or 
any other action taken in respect of this e-mail is prohibited and may be 
unlawful. If you are not the intended recipient, please notify the sender 
immediately by using the reply function and then permanently delete what you 
have received.
Content of emails received by this Trust will be subject to disclosure under 
the Freedom of Information Act 2000, subject to the specified exemptions, 
including the Data Protection Act 1998 and Caldicott Guardian principles.
This footnote also confirms that this email message has been swept by 
MIMESweeper and Sophos Anti-virus for the presence of computer viruses.
***************************************************************************



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to