Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


+Question+ Delphi Exit Form Code

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
unub
Cheater
Reputation: 0

Joined: 13 Jun 2007
Posts: 32

PostPosted: Sun Mar 16, 2008 6:19 pm    Post subject: +Question+ Delphi Exit Form Code Reply with quote

Hey Guys,
Alright so i've got my code to show Form2 when I click a button on Form1 so all I need is a code that will Terminate Form2 until the button on Form1 is clicked again

Thanks!

_________________
once a hacker a hacker for ever


Last edited by unub on Mon Mar 17, 2008 4:37 am; edited 1 time in total
Back to top
View user's profile Send private message AIM Address
NothingToShow
Grandmaster Cheater Supreme
Reputation: 0

Joined: 11 Jul 2007
Posts: 1579

PostPosted: Mon Mar 17, 2008 3:19 am    Post subject: Reply with quote

What you mean by terminate?

I searched "terminate form delphi" on Google, and found this.
I don't know if that's what you're looking for.
Back to top
View user's profile Send private message
unub
Cheater
Reputation: 0

Joined: 13 Jun 2007
Posts: 32

PostPosted: Mon Mar 17, 2008 4:17 am    Post subject: Reply with quote

Thanks for trying Smile
But 'Application.Terminate();' terminates the whole application, il put my goal in a more simple way

I want the code for a cancel/ok button in delphi

_________________
once a hacker a hacker for ever
Back to top
View user's profile Send private message AIM Address
NothingToShow
Grandmaster Cheater Supreme
Reputation: 0

Joined: 11 Jul 2007
Posts: 1579

PostPosted: Mon Mar 17, 2008 4:30 am    Post subject: Reply with quote

If you wanna show a form, and hide it again, it could be:
Button cancel:
Code:
Form2.Visible := False;


Button ok:
Code:
Form2.Visible := True;
Back to top
View user's profile Send private message
unub
Cheater
Reputation: 0

Joined: 13 Jun 2007
Posts: 32

PostPosted: Mon Mar 17, 2008 4:36 am    Post subject: Reply with quote

Thanks Again Razz Button cancel was what i needed ive made an alright universal flash trainer but i cant figure out how to add a GUI u reckon i should release it and share or personal use, reason im having thoughts of keeping it personal cuz il get flamed alot and the forum might already be flooded by uft's and il probably get alot of negative comments

Screen Shot of it:

_________________
once a hacker a hacker for ever
Back to top
View user's profile Send private message AIM Address
NothingToShow
Grandmaster Cheater Supreme
Reputation: 0

Joined: 11 Jul 2007
Posts: 1579

PostPosted: Mon Mar 17, 2008 5:42 am    Post subject: Reply with quote

You should look at all the flash procedures/functions, which appears when you type
Code:
Flash1.

And make some new UFT features.
And if you want another GUI, you could use the WinXP GUI.
Go to Win32 tab, and put a XPManifest component on the form.
Back to top
View user's profile Send private message
malfunction
Grandmaster Cheater Supreme
Reputation: 0

Joined: 30 Jan 2007
Posts: 1015
Location: http://www.behindthecorner.com/

PostPosted: Tue Mar 18, 2008 9:02 am    Post subject: Reply with quote

lol use
Code:
close;

_________________
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Wed Mar 19, 2008 8:29 am    Post subject: Reply with quote

omgroflol:

Code:
Procedure Button1Click(Sender: TObject)
Begin
  Form2.close
end;
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites