Introduction to Embarcadero C++Builder |
|
C++Builder Fundamentals |
Introduction |
C++Builder offers a practical and easy means of creating computer applications. It uses the C++ computer language as its core syntax and programming logic, adhering to ANSI standards with a lot of improvements on customized items of existing libraries. There are various ways you can launch the program. The most common way consists of clicking. |
To create a shortcut on the desktop, in Microsoft Windows higher than Win95, you can click Start -> (All) Programs -> Embarcadero RAD Studio 2010, and right-click C++Builder 2010. You can click Pin To Start Menu to permanently add it to the Start Menu in the same group with Internet Explorer. You can click Send To -> Desktop (Create Shortcut), which would create a C++Builder shortcut on the desktop. |
The Welcome Page is the first wide area that appears when C++Builder comes up. The section displays a title as Recent Projects. At any time, to display the Welcome Page:
If you have just installed C++Builder or have not previously opened a project, the Recent Projects section would be empty. Once you start creating and using projects, they display in the Recent Projects section by their names. When you start or open a project, C++Builder makes some windows available. These are the most regularly used windows. If you think that one of them is not regularly used in your types of assignments, you can remove it from the screen. To hide a window, you can click its Close button . All of the windows you can use are listed in the View menu. Therefore, if a window is not displaying, you can click View on the main menu and click a window of your choice.
When creating your applications, you will use a set of windows that each accomplishes a specific purpose. Some windows are represented with an icon but hide the rest of the body. To display such a window, you can position the mouse on it. This would expand the window: If you expand a window, it would display a title bar with two buttons. One is called Auto Hide and the other is the Close button: If you expand a window but find out you don't need it any more, you can just move the mouse away from it. The window would return to its previous state. Based on this functionality, if you are working with a window and move the mouse away from it, it would retract. If you need it again, you would have to reopen it using the same technique. If you are going to work with a certain window for a while, you can keep it open even if you move the mouse away. To do this, you can click the Auto Hide button. If clicked, the Auto Hide button changes from pointing left to pointing down:
By default, C++Builder installs some windows to the left and some others to the right of the screen. You can change this arrangement if you want. To do this, expand a window, then click its title bar and start dragging. To position a window on one side of the screen, drag its title bar to that side. When you get to a side, a transparent blue rectangle would be drawn to indicate the possible position:
OR
OR
You can dock a window only if it is dockable. This means that some windows, such as the Code Editor, are not dockable. To find out whether a certain window is currently docked, right-click its body and notice that the Dockable option is checked:
If a window is dockable but you want to prevent yourself from (accidentally) docking it, right-click its body and click Dockable. The check box would be removed from the Dockable option and then, if you drag the window to another location, it cannot be docked.
Most of the windows you will use are positioned on one side of the screen. If you want, you can have a window that stays on top of other windows but cannot be "glued" to one side. Such a window is said to float. To float a window, drag its title bar and release it somewhere in the middle of the screen but not on a side because, while dragging, if you release the mouse on one of the sides, and if the window is dockable, it would assume the position of where you released the mouse.
You can make two or more windows share one side of the screen or to share an area. To do this, first expand and fix the window that you will use as foundation (or reference). Then, drag the title bar of the window that will share the area: This
Produces
Or this
Produces
Or this
Produces
In the same way, you can make two or more windows share the same area.
There are two main sources of help available for C++Builder. The first source of help is provided with the programming environment. This help is electronic and it is divided in two. Everything considered, this is the closest and the highest documentation that the compiler provides.
To access the main C++Builder help:
You can get help on a particular item on the screen. To get this type of help, in the Code Editor, click inside a word and press F1. The Help window would come up and would display information related to that word.
Because the new RAD Studio shares some features with the Microsoft Developer Network (MSDN), you will need close attention to the MSDN documentation. Fortunately, the RAD Studio ships with, and installs the MSDN documentation. To access it:
Any of these actions would open a Search tab and display a text box. In the Search text box, type the word or expression you want, and click Search or press Enter.
Another place you can find information is on the Internet. Fortunately, most of that help is free. On search engine’s web site, you can perform a search on the expression C++Builder (or C++ Builder) and see what you get. It is very important that you have access to the Microsoft Developer Network documentation. As mentioned above, this help is available from the RAD studio. It is also available free from http://msdn.microsoft.com.
|
|
|||||||||||||||||||||||||||||||||||
|
Home | Copyright © 2004-2010 FunctionX | Next |