The Jedi Academy. THE Place for Jedi training.
Content
The Academy
Learn
Communicate
Personal



Bail Hope of Belouve Steven "Bail Hope of Belouve" Lemmens
Student
Too busy looking for the reclining Madonna with the big boobies

Location:  Belgium
Occupation:  The fallen Madonna with the Big Boobies
Interests:  Girls (definitely full-time)
ICQ UIN:  ICQ Status 253133148
MSN Address:  BailHope@gmail.com
Homepage:  http://belouve.thejediacademy.net
Last Comment:  Forums: Joke of the Every Couple of Days!!!
Comments Made:  10790

< Recent Comments Login and add your comment! Previous Comments >
Comments
Aug 20 2004 05:30pm

Jacen Aratan
 - Student

cl_avidemo FPS

Mostly /cl_avidemo 30.

Aug 20 2004 04:36pm

Dan
 - Student

Btw, haha, you accidentally got comments #500 and #600, I wasn't really paying attention to what I was posting, and never intended on giving them to people...
so, rooofls, you got them both.
What are the chances!!! :D

Aug 20 2004 04:35pm

_cmad_
 - Ex-Student
 _cmad_

Ah you're talking about Design-Time... Not RunTime ;) No in design time you can't "close" the form... it just stays there eating your memory :P
_______________
Your friends of today, are your enemies of tomorrow.

Aug 20 2004 04:34pm

Dan
 - Student

Quote:
no, we're just the guys who have no life

You do have a life!
It's just spent on these forums! hehe :D

Aug 20 2004 04:00pm

Demon
 - Student
 Demon

Hehe, Ctrl-Alt-Del roxxors :)
_______________
Quote:
Peace is a lie, there is only passion. Through passion I gain strength. Through strength I gain power. Through power I gain victory. Through victory my chains are broken. The Force will free me.
-The Code of The Sith


Aug 20 2004 03:11pm

_cmad_
 - Ex-Student
 _cmad_

Quote:
Is there a way to check if the Red cross at the above-right is used to close?

I want to make it so that if the little cross is used, the Main Form is automatically closed
so the Main Form doesn't stay in memory either.


In what other way could you have closed the Main Form? :confused:

As for the files....

procedure Form1.Button1Click(Sender: TObject)
var
MyFile: TextFile;
begin
// 'myfile.txt' will be searched in either
//C:\Windows or in the current directory
//So use: GetCurrectDir + 'myfile.txt' to be sure
AssignFile(MyFile, GetCurrentDir + 'myfile.txt');
//Rewrite(SomeTextFile); opens the file for
//WRITING and REMOVES ALL the data inside it
//Reset(SomeTextFile); opens the file for
//READING (the data isn't harmed)
Rewrite(MyFile);
Write(MyFile, 'some text');
..................
CloseFile(MyFile); //Don't forget to do this
end;

TextFile's aren't good enough. They were OK in Pascal, because they were all Pascal had... Check out Streams in Delphi (such as TFileStream).

EDIT: grrrr... we need indentation!
_______________
Your friends of today, are your enemies of tomorrow.

This comment was edited by _cmad_ on Aug 20 2004 03:13pm.

Aug 20 2004 07:58am

Gradius
 - Ex-Student
 Gradius

Don't make me sick this guy on you! :P
_______________
- Proud padawan of Kueller.
- We really are at the beginning of it all. The trick, of course, is to make sure we never find the end. - Bill Bryson, A Short History of Nearly Everything
- <gen-e-sis-happy> Liek, you can train, liek, a n00b, but he'll just be a trained n00b... --> Wise words!
- "daer SOE me likes your a company i am having your some money for letting me do stuff cos mes the best amd i do it all meself" - Slider


Aug 20 2004 07:54am

Gradius
 - Ex-Student
 Gradius

What a lovely game of forum tag!

I appologize on behalf of Bail and I for this spamming. We will stop now :)
_______________
- Proud padawan of Kueller.
- We really are at the beginning of it all. The trick, of course, is to make sure we never find the end. - Bill Bryson, A Short History of Nearly Everything
- <gen-e-sis-happy> Liek, you can train, liek, a n00b, but he'll just be a trained n00b... --> Wise words!
- "daer SOE me likes your a company i am having your some money for letting me do stuff cos mes the best amd i do it all meself" - Slider


Aug 20 2004 07:51am

Gradius
 - Ex-Student
 Gradius

Blasphemy! :P
_______________
- Proud padawan of Kueller.
- We really are at the beginning of it all. The trick, of course, is to make sure we never find the end. - Bill Bryson, A Short History of Nearly Everything
- <gen-e-sis-happy> Liek, you can train, liek, a n00b, but he'll just be a trained n00b... --> Wise words!
- "daer SOE me likes your a company i am having your some money for letting me do stuff cos mes the best amd i do it all meself" - Slider


Aug 20 2004 07:46am

Gradius
 - Ex-Student
 Gradius

Stop following me! :D
_______________
- Proud padawan of Kueller.
- We really are at the beginning of it all. The trick, of course, is to make sure we never find the end. - Bill Bryson, A Short History of Nearly Everything
- <gen-e-sis-happy> Liek, you can train, liek, a n00b, but he'll just be a trained n00b... --> Wise words!
- "daer SOE me likes your a company i am having your some money for letting me do stuff cos mes the best amd i do it all meself" - Slider


Aug 19 2004 08:42pm

DJK
 - Student
 DJK

Got bad news, please meet me on msn.

This comment was edited by DJK on Aug 19 2004 09:11pm.

Aug 19 2004 07:51pm

_cmad_
 - Ex-Student
 _cmad_

It's not ComboBox.AddItem(Item: String; AObject: TObject)... It's

- ComboBox.Items.Add(Item: String)
AND
- ComboBox.Items.Append(Item: String)

the difference between the two is that the first returns the position of the newly added item, but the second one doesn't.

BTW: You can add items in the combobox with the Items property in Design Time. You just click on the "..." and you add the items there. Of course if you don't want the same items to be added all the times, then use either one of the functions above (i use the second)
_______________
Your friends of today, are your enemies of tomorrow.

Aug 19 2004 07:24pm

Seth C. Belouve
 - Student
 Seth C. Belouve

You are Fancy bro.......very......very.....VERY.......Fancy :D
LMAO:D
_______________
Look unto me for I possess the blue flag!! It is more beautiful then I ever imagined! You will now worship me as if I were a god! *smack, dies* I regret nothing, I lived as few men dared dream!!
Red Guy from Red Vs. Blue Series


Aug 19 2004 07:01pm

_cmad_
 - Ex-Student
 _cmad_

A memo has many lines. That is, if you want to store a string (such as a file's contents) that's composed of many lines, use a TMemo. If that file is a .doc or any other kinda file with formatting use a TRichEdit. It's like a memo, but it allows, bold, italic, different font sizes, and everything :)

an edit is a field, say, to hold a username, a password, and stuff such as those.

About the BTW:

The main form is the "root" of the application's forms. If that is closed, the application is closed. The root form, is the first form defined in the project code... For example:

program Project2;

uses
Forms,
Unit1 in 'Unit1.pas' {Form1},
Unit2 in 'Unit2.pas' {Form2};

{$R *.res}

begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.CreateForm(TForm2, Form2);
Application.Run;
end.

------- end of the code

Now Form1 is the root. If you added
Application.CreateForm(TForm2, Form2);
before
Application.CreateForm(TForm1, Form1);
then Form2 would be the root...

You can't stop the app from closing when the first form closes.

If you just wanna hide Form1 just for a better look, and then re-show it when Form2 closes, do this:

For example if Form2 is opened by Form1 through a button, add this to the button's OnClick event:
Form1.Hide;
Form2.Show;

And then add this to Form2's OnClose event:
Form1.Show;

Hope this helps...

- cmad
_______________
Your friends of today, are your enemies of tomorrow.

Aug 19 2004 06:14pm

JamesF1
 - Student
 JamesF1

you're just weird :P
_______________
Website

Aug 19 2004 05:15pm

<®AsH D'K/ln/l
 - Student
 <®AsH D'K/ln/l

Thank You for Greetings!! Nice to meet You
May the Force Be With You Bro :D

This comment was edited by <®AsH D'K/ln/l on Aug 19 2004 05:15pm.

Aug 19 2004 01:00pm

Garos
 - Student
 Garos

<3

Aug 18 2004 09:38pm

_cmad_
 - Ex-Student
 _cmad_

Quote:
there is something called 'outside' you know :P


Says Bail! hrhr :P

/me has never heard of 'outside'

/me gets scared

:D
_______________
Your friends of today, are your enemies of tomorrow.

Aug 18 2004 09:19pm

ozzcoz
 - Cosplay Nerd
 ozzcoz

OMG are we like the only two people in the world that can se how corny and cheap the star wars franchise is becoming?

BTW, we have a little thing called IRC for extended conversations like yours and cmads, I believe you may be familiar with it.
Nah J/K, good to see someone giving the forums a thorough working out :D
_______________
A wizard did it.

Aug 18 2004 08:31pm

_cmad_
 - Ex-Student
 _cmad_

I'm actually 2 months younger than 15 :P

EDIT: but mentally i'm an 11-12 year old AOL-er :P :D
_______________
Your friends of today, are your enemies of tomorrow.

This comment was edited by _cmad_ on Aug 18 2004 08:33pm.

Aug 18 2004 08:22pm

_cmad_
 - Ex-Student
 _cmad_

Quote:
but I'm only 17, so what do I know


You're.... 17? Whoa!
_______________
Your friends of today, are your enemies of tomorrow.

Aug 18 2004 06:46pm

Kainz00r
 - Jedi Knight
 Kainz00r

Haha, nice pic :)
_______________
Fervent supporter of duelling - leave a message if you would like to battle! Married to Masta.

Aug 18 2004 06:34pm

Khâ D'Kana
 - Student
 Khâ D'Kana

always a pleasure to play with Belouve's boys :)

-Khâ D'Kana
_______________
In light of day, nor dark of night, no evil shall escape our sight.

Proud member of the D'Kana family


Aug 18 2004 05:58pm

ozzcoz
 - Cosplay Nerd
 ozzcoz

Are you the beer baron??

Well, if you're talking about root beer, I plead guilt- diddily-idily as char-didily-arged!

He's not the baron, but he sounds drunk. Take him in.:D
_______________
A wizard did it.

Aug 18 2004 05:43pm

_cmad_
 - Ex-Student
 _cmad_

Of course! :P :D
_______________
Your friends of today, are your enemies of tomorrow.

< Recent Comments Login and add your comment! Previous Comments >