Solved

displaying results

Posted on 1998-08-29
3
130 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now