Friday, October 28, 2011

Explanation of the Main-Menu in Delphi

Borland Delphi menu looks like this ya buddy

Well, now I will try to explain one by one utility menu:

1. File menu

The File menu contains the basic commands are frequently used menu associated with the operation of the file

a. New: Creating a new object in the form of projects and form

b. New-Application: Creating a New Project command will close the previous project, open the code editor Unit1Pas new name, and a new form named Form1

c. New-CLX Application: Creating a new project group with a single application of cross plaform in it you can use the CLX object platform to create applications for Windows or Linux File form will be linked to the same practice that has an extension CLX Xfm








d. New - Data Module: Create a new module, and the container will then be displayed on the desktop module data Module added in the applicable project

e. New-Form: Creating a new form that is still empty

f. New - Frame: Make a frame (frame) which is still vacant to be added in the current project

g. New-Unit: Creating a new unit within the code editor window

h. Open: Opens an object The object can be either a program or project

i. Open Project: Opens the Project

j. Reopen: Opening the last object you've ever opened before

k. Save: Saves the current form

l. Save As: Saves the active form with a new name

m. Save Project As: Saves the current project with a new name

n. Save All: Saves all objects are active

o. Close: Close the form, If your form has not been saved, then Delphi will display a confirmation box about file storage

p. Close All: Closes all active object Use Unit Opening a unit for the active project

q. Print: Prints the currently selected item Delphi

r. Exit: Closes the Delphi application program



2. Edit Menu

Edit menu contains commands - commands used to edit text dala program code editor window, edit the component - the component which lies in the form designer and a few other items

a. Undo Undo the last command you have ever done

b. Redo Repeats the last command you have ever done

c. Cut Cut the text or object that is selected

d. Copy of Copy text or object that is selected

e. Paste Leaving or displaying text or object that you Cut or Copy on the specific position you want

f. Delete Delete the text or object being in the select

g. Select All Selects all the text or object

h. Align to Grid Tidy object or set of equipment was selected to the position of grid points in the form

i. Bring to Front Laying the object selected in the top position among other objects contained in the form

j. Send to Back Leaving the selected object at the bottom among other objeka contained in the form

k. Set alignment Align selected objects in a form, either vertically or horizontally

l. Size Set the size of the width and height of objects - objects selected

m. Scale Resize all objects to be activated when you use the tab key to move the position of active object Then the form that you have created run

n. Creation Order Changing the order of non-visual component that is activated when you use the tab key to move the position of non-visual component which is active at the time of the form that you have created on the run

o. Children Playing Flip components contained in the form horizontally

p. Lock Control Lock all the components contained in a form so you are not allowed to resize and move the position of the components



3. Menu Search

Search menu contains the command - the command used to search for specific text in the code editor, look for errors in program code editor window and a few other items

a. Find Search for specific text in the code editor

b. Find in files Search for specific text in a code editor that is located in another file

c. Replace Looking for a specific text and replace it with another text in the code editor

d. Search Again Repeating text search commands that you have previously submitted

e. Incremental search Search for specific text that you want to type Run this command so that the text will appear

f. Searching for: in the code editor and then type that you want to search

g. Go to Line Number Move toward certain lines of program code editor window

h. Find Error Finding fault - fault programs that exist in the code editor window



4. View the menu

View menu contains commands used to display or hide the window - a specific window in the Delphi program

a. Project Manager project manager Displays a worksheet that is used to manage the hierarchical structure of a project

b. Displays the Object Inspector inspector worksheet object that is used to modify the properties and events of the component - a component in a form

c. Displays the Object TreeView treeview object worksheet that is used to display objects in a tree diagram form

d. Displaying Palette align alignment toolbar that contains the command button to adjust the alignment of the components - components that are contained in a form

e. Displays the To Do List item - the item tasks required to complete the work within the applicable project you can sort the items - the item is in alphabetical order, status, or on a priority basis by clicking on the column which is provided in

f. Browser Displaying a browser project worksheets

g. Code Explorer Displays a worksheet code explorer

h. Component List Displays a worksheet with a list of part names Delphi

i. Windows List Displays a list of window names that are currently in an active condition that you can choose

j. Adioontinal mesange message worksheets info Showing Hints

k. Debug Debug Windows Displays worksheet

l. Desktop Desktop Displays sub menu that works to cultivate the desktop

m. Toggle Form / Unit Move to worksheet forms designer and code editor alternately

n. Display units and units that enable a list of names you have

o. Forms Displays list and activate the form that you have

p. New edit code editor Window Opens new window

q. Toolbar Displays a list of names new toolbar enabled or sembuyikan



5. Menu Project

Project menu contains commands - commands associated with the processing of a project

a. Add to Project Add the unit you've ever made prior to the current project

b. Remove from project Delete a unit contained in the current project

c. Import Type Library Library Incorporating other types of systems into the Delphi program

d. Add to Repository Entering application program that you have made to the list repositoty application program that has been included in the list of repository can be retrieved by using the file - new View Source Displays the source code of the program is currently active projects

e. Language Changing the order of translators (resource, etc.) on your project

f. Add new project Add a new item into the group project

g. Add exiting project Adding other projects that you have previously made into a group project

h. Establish Project compilation compile files ending in EXE that can be executed at any time to file - the file in the active project

i. Build Project Rebuild all the components contained in the current project that has undergone a change

j. Syntax Check Project Compiling module - module project that is not tied to project the command is used to check the code of errors - errors that may occur during the compilation process

k. Compile All Project Forming compile files ending in EXE for the entire project file that is being actively

l. All Build Project Rebuild all the components contained in the active project that has undergone a change

m. Displays the Options dialog of Options



6. Run menu

Run Menu is used to run programs and view running programs you can also monitor the way the program is executed with attention to Procedure

a. Run compile and carry out the program application form that you have

b. Attach to Proces Checking process multiple applications are running, and displays a list of the application program being run by the local computer Select a process from the list and double click on attach to initiate examination of the Parameters Determining the initial parameters for your application program

c. Running Over Steep line programs one by one in a procedure

d. Trace info line Running programs one by one in a procedure that interconnected

e. Trace to next source line Running the program in a procedure and will stop when it encounters a command line in the next Procedure

f. Run to Cursor Run the program only until the cursor location in the code editor

g. Run until return Running the program until the program executes the command returns

h. Show Execution Point Showing the position of the cursor in the code editor window

i. Stopping to pause the program while the program

j. Stopping the program reset the program permanently

k. Evaluate / Modify dialog Evaluate city Showing / Modify, where you can evaluate or change the value of existing statements

l. Opens the Add Watch dialog box propertise Watch Where you can modify the watch

m. Opens the Add Breakpoint breakpoint dialog box, where you can create and modify the break-point



7. Menu Component

Menu component used to add or install components - new component

a. New Component Creating a new component

b. Component Install Installing new components

c. Adding the Import Control activex type library activeX controls into Delphi project

d. Install Packages Installing component packages that have been provided by Delphi

e. Open and maintain Konfigurate Palette Palette Properties palette in the dialog box



8. Menu Database

Database menu is used to create, modify or view the database

a. Open Explorer or Database Explorer SQL Explorer

b. Opening the SQL Monitor SQL Monitor

c. Form Wizard Creating a database form wizard form through a function to display data from a database




9. Tools and Help menus

Tool used to change the menu option or call Delphi Database Desktop from the menu

a. Environment Options configuration Determining Preference, Library Path name, and change the look of the component

b. Editor Options Setting the configuration editor

c. Displays the Options dialog box Debugger Debugger Options

d. Displays the Object Repository dialog box

e. Showing Repository Translation tool options dialog town translation tool that is used to configure Options translations tools

f. Showing Translation Translation Repository Repository

g. Regenerate Corba IDL Files Used to build client or server applications by using the IDL File-Based

h. Configure Tool Tool Displays a dialog city

i. Options Use this dialog box to add a command, delete command, or change the command on the tools menu

j. Displaying Database Database Desktop Desktop where you can create, display, sort, modify, and query processing table in Paradox program, dBase, and SQL Format

k. Package Collection editor Create and edit the package collections (a collection of packages) Open XML mapping XML worksheet

l. Opening the Rave Designer Tool mapping worksheet   Rave Reports

m. Image Editor Image Editor Opening a worksheet

Delphi 7 Application Installation Process

Good Afternoon all Blogger,

See you again with me, just apologize for being able to post because of busy work. Ok, at this time I am right material discusses how to install Delphi 7 on a computer application buddy as well.

1. Insert the CD installation of Delphi 7, then will appear as the following

 
2. Click on the words "Delphi 7". Then click Next =>> Enter Serial Number and Autho. =>>
Click "I accept the license agreement" then click Next =>> next =>> next =>> next =>>



3. Select Office XP, Next =>> tick all, next =>> next =>> next =>> next =>> click Install.


4. Click Install again, Trus appeared window "popup" click OK, click Next =>> click "Yes" =>> next =>> next =>>


5. Click next =>> next =>> next =>> next =>>


6. then be loading, if already up 100%, the following window will appear like this. Click Finish, Finish, and there you have Delphi installation process. If the computer is asked for on the restart, then restart the computer pal. and so the computer is booting, Delphi applications ready for use. OK? it's easy.

WHY MUST DELPHI ?

IDE (Integrated Development Environment) at Delphi program is divided into eight main sections, namely:

1. Main Window
2. ToolBar
3. Component Palette
4. Form Designer
5. Code Editor
6. Object Inspector
7. Code Explorer
8. Object TreeView

For more details can be seen in the picture beside >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

IDE is an environment where all the commands necessary to design the application, run and test a well presented application to facilitate program development. In its lay language, all we need to make an application, is presented with bailk, complete, without the need to install this and that. ok, my friend dah to understand?

Well, now I will explain in detail one by one from the main part of this order
the companions could understand it thoroughly:

1. Main Window

The main window is part of the IDE that has the same function with all the major functions of the other Windows application programs. Delphi main window is divided into three parts, namely: the Main Menu, Toolbar and Componen Pallete

2. Tollbar

Delphi has several toolbars, each of which have different functions and each button on the toolbar serves as a replacement for a frequently used menu commands. Toolbar located at the bottom of the menu bar. Toolbar include the following sebaggai buddy namely: Standard, View, Debug, Desktops, and Componen Custom Palette.
The buttons are located on the toolbar can be added or subtracted according to the needs of bloggers. then how do I? easy buddy, how are the following:

a. Right-click on the toolbar and select Customize
b. So the Customize dialog box appears.
c. To add a button on the toolbar, choose the command button icon located on the Commands box and then drag the icon on the toolbar.
d. To reduce the command button located on the toolbar, choose the command button icon and then drag the icon out of the toolbar.

How bloggers, simple right? if not possible, please try bloggers themselves.

3. Component Palette
Component Palette contains a set of icons that represent the components contained in the VCL (Visual Component Library). Well, here's the components that make Delphi applications is said to be object-based application or a term that is cool ya buddy OOP (Object Orienting Programming) means a program administered / events triggered by an object. plainly that what event? deh later, on the part of making the application I described. OK? Now we return to the Component Palette again. This component is divided into how many page control, such as Standard, Additional, Win32, System, Data Access and others. Well, the image of the component like this fellow
See, plasticity is not it? Well, maybe from there my friend who asked, why there is the arrow / pointer in each tab? it's because this is not objeck button but the button is used to suppress or select a position. Then the way how the make this component? easy, I'll explain in Chapter 2. ok?

4. Form Designer
It is an object that serves as our place to design the application program. Form the shape of a work table that can be filled with the components taken us from the Component Palette earlier. At the time my friend started Delphi, Delphi will provide a blank form called Form1, ya like this picture:
A form contains a functional unit for controlling the form and my friend can control components located in a form by using the Object Inspector and Code Editor .. Well, especially with this? quiet I will explain in point 5 and 6. wait huh?



5. Code Editor
Code Editor is a section where we can write the code program.Sobat need to know, that Delphi applications have several advantages that we no longer need to write source code, because Delphi has provided the framework of writing a program like the picture on the side

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>




6. Object Inspector

Used to change the properties or characteristics of a component. Object Inspector has two tabs, the Properties and Events like the picture on the side >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>















7. Code Explorer

Code Explorer is a new worksheet contained in Delphi7 to those found in previous versions. Code Explorer is used to facilitate the user switch between file units contained in the Code Editor window. To close the Code Explorer, click on a cross that found in the upper right corner, and to reopen the menu select View Æ Code Explorer from the main menu or right-click in the Code Editor window and choose View Explorer.

8. Object TreeView

Object TreeView displays a tree diagram of the components that are visual and nonvisual that has been present in the form, data module, or frame. Object TreeView also displays logic relationships between components. When my friend right clicking one of the items contained in this treeview object, my friend can see the context menu component of the previous version. To access the full menu, right click on the same component in the form, data module, or frame.

its following screenshot:

Well, now bloggers already know delphi tu like what, and how the usefulness of each - each part? OK, now we go to Chapter 2 which I will explain in more detail the purpose or function of each menu in Delphi so that bloggers are more familiar in depth this delphi program.

BACK TO MAIN MENU

HISTORY of PASCAL PROGRAMMING

Overview of the programming language Pascal.
A programming language, usually made with directed to a certain type of application. Programming languages ​​so that there can be grouped into three kinds, among others, as follows:

1. Programming language for computational applications.
Programming language that is intended for use in the field of computing, such as computing-storey building, to calculate the strength of buildings, for statistical calculations in the field of economics, agriculture, engineering and others.

2. Programming language for application administration.
Computer language that is intended for use in the field of administration, for example personnel, payroll, supplies, and so on.

3. Programming languages ​​in addition to the above two types of applications.
For example the C language, which is made not for the two types of applications on top, but to be used as a software development tool. PROLOG language or highly effective for use in the field Robotics.

Well, pascal language included in the first category is a language for computing applications. This language is one of the new generation language, developed at about the year 1970 by Professor Nicklaus Wirth in Switzerland's Federal Institute of Technology. This language is a development of the ALGOL language. PASCAL name taken in honor of one of the experts who took part showed the road to the discovery of computers from France named Blaise Pascal. This language is known as one of the languages ​​that have a structured programming capabilities (Structured Programming) is strong. PASCAL language continues to evolve and is now one of the most widely used language. PASCAL language actually has a good ability

for use in the field of administrative applications. Below is an example of a program in PASCAL language, and the program also to calculate the average of the N pieces of data. The data are called X and the average price named RX.

PROGRAM average (input, output);
{This program calculates the average price of n
the data. The data are named x, the average price rx}
TYPE
bentuk1 = ARRAY [1 .. 50] OF REAL;
VAR
i, n: integer;
Fri, rx: real;
x: bentuk1;
BEGIN
Readln (n);
Fri: = 0.0;
FOR i: = 1 TO n DO
BEGIN
Readln (x [i]);
Fri: = Fri + x [i];
END;
rx: = Fri / n;
Writeln ('Price reratanya is =', rx: 10:2)
END.

DELPHI PROGRAMMING MODULE CONTENTS

BASIC MATERIALS LEVEL PROGRAMMING
MODULE 1: HISTORY OF PASCAL PROGRAMMING LANGUAGE
MODULE 2: INSTALLATION APPLICATION OF DELPHI 7
MODULE 3: KNOW YOUR APPLICATION DELPHI
MODULE 4: EXPLANATION MENU-MENU IN DELPHI
MODULE 5: MAKE A FIRST APPLICATION

BEGINNER LEVEL PROGRAMMING MATERIALS
MODULE 6: APPLICATIONS DELPHI COMPONENTS
MODULE 7: Practicing TYPES OF DATA IN DELPHI

Getting Started Programming

Blogger Friends to all ...
After long thought, I finally dared to try to share knowledge with all the blogger friends. All this started from my pleasure to write and create programs to help finish my office work. From there, I began to delight in making the program because the program we make will greatly help us in the future. To that end, so let me a beginner this is to share my little knowledge of programming, especially programming language PASCAL. While the application is an application that I use Delphi 7.

All the science that will I share here is the fruit of my own thoughts, there will never be such thing as copyright infringement. I apologize to the blogger friend when later in the post-post I found a mistake because the techniques and Pascal programming language that I understood better now, I can be self-taught, without assistance ..

That is just an introduction from me,, Make the bloggers,, good reading, good learning, this may increase your insight. Whatever the criticisms and suggestions that my friend gave, will I receive for the perfection of this blog, added to my insight, and for the sake of all our programming world.

Amin .........................