Solved

displaying results

Posted on 1998-08-29
3
136 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create a path if not exists 7 125
Dev express lookupcombo 3 64
How to load 2 images in same column in Delphi 2 81
Delphi: making a BW image transparent 10 137
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…

734 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