Solved

displaying results

Posted on 1998-08-29
3
132 Views
Last Modified: 2010-04-04
How could I display my results on Delphi? I would prefer not to have my results display in another file but within an interface. Could I do such a thing? Thank you.
0
Comment
Question by:liau080698
3 Comments
 
LVL 10

Expert Comment

by:viktornet
ID: 1338099
What exaclty do you mean by displaying results within an interface??? What exactly do you mean..

Is it this what you want???? I'm not sure I understand

Label1.Caption := IntToStr(30);

or something like this???

Form.Canvas.TextOut(100,100, 'COOL');

Regards,
Viktor Ivanov
0
 

Author Comment

by:liau080698
ID: 1338100
Sorry.
What I actually want is that the results will be displayed immediately after the program is run. I do want to write the results to another file which I would have to open to look at the results. I hope my question is a bit clearer this time.
0
 
LVL 7

Accepted Solution

by:
Motaz earned 50 total points
ID: 1338101
You can use Memo like this :

for i:=1 to 10 do
  Memo1.lines.Add(IntToStr(i));

Instead of this :

AssignFile(f,'Data.txt');
Reset(f);
for i:=1 to 10 do
 Writeln(f,i);
 CloseFile(f);

Regards, Motaz

0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
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…

776 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