Solved

displaying results

Posted on 1998-08-29
3
137 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month7 days, 7 hours left to enroll

632 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