Languages Delphi & Kylix Delphi Custom Controls/ Forms/ Menus  

Derya's Component TExitButton

download download  
important code information
author:
Derya KILICLI
minimum requirements:
Derya's Component TExitButton description

Don't you get bored with creating a developed exit button yet? Leftovers It's very boring for me.(I believe for you too..). Here is, this simple and useful component with two properties allows you big easiness. Hold, carry and put this TExitbutton on your form where you want.


What does it?
-----------------
(Firstly in this code, my aim is to explain how to create a componenet in Delphi.Because delphi already has the TBitbtn componenet to do this easly)

Don't you get bored with creating an exit button yet ? You always create
a button on your form and write an "application.terminate" code into to exit to windows when you begin to write a new delphi programme.
Leftovers It's very boring for me.(I believe for you too..). Here is this simple and useful component allows you big easiness. Hold, carry and put this TExitbutton on your form where you want. You'll see there is an 'EXIT' article as its caption on this button.

Has TExitbutton new properties?
-----------------------------------------
Yes Our component has two properties CLINEX and SHOWCLINEX. Clinex is a string properties and contains a text that appears in a message box before you exit to windows. For example write this text in the Clinex box: "Do you want exit?." You'll see this message before you exit to windows..(this is default text). ShowClinex is a boolean property that fixes whether message box appears on your screen . Its value can be true or false. I have added a MessageDLG box so that user can be control exit process. both of the buttons have been placed on the dialog like YES and NO.

How to install this component?
--------------------------------------
Unzip and put exitbutton.pas and exitbutton.dcu files into a secure place (for example ...\delphi\lib\mycomponents).Run delphi and select install componet from component menu. Browse exitbutton.pas and select a package to locate it. You can create a new package too. Compile this package. Your component will be placed on a new palette called 'DERYA'. You can change all of these as you need.


File List:
Derya's_Component_TExitButton/0b
Derya's_Component_TExitButton/ExitButton2.dcu4Kb
Derya's_Component_TExitButton/ExitButton2.pas1Kb
Derya's_Component_TExitButton/README.TXT3Kb
Derya's_Component_TExitButton/exitbutton2.dcr480b

Similar code
About Component (Popularity: ) : A generic About component, drop it into your applications for use. It has a picture, project icon website URL, registered ...
A file finder (Popularity: ) : The TBTFileFinder class is a direct TObject descendant and it is a file finder. Using this class its easy to ...
Extended edit control (Popularity: ) : TExtEdit is an extended edit control that offers some control for entering integer and floating point numbers.
DLBox (Popularity: ) : This compound-component (wrapper) derived from TCompoundGroupBox makes downloading from any source easy. I used this component in WWW-Downloader. Sourcecode and ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 23
version
size in Kb 5
popularity   248/5995046
user rating 0/10
ad


New Code
Popular Code