Chapter 1 common window tools
I. Forms
There are many grid lines used for positioning in the form, and the spacing between adjacent grid lines. By default, Delphi uses 8 pixels for vertical and horizontal positioning. Adjustable: Tools> environment Options> designer: Change the grid size.
Ii. Code Editor
You can set different display colors for the code. Tools> editor Options> color
3. Code Explorer)
Iv. Component panel
Place the visualization (VCL) component. VCL: visible during design and not necessarily during program execution. Change the default component panel: component-> Configure palette
5. Object INSPECTOR: sets properties and events of controls. This attribute is displayed in bold if it is not the default value.
6. Object Browser: used to display the tree chart of each component in a form, data module, or framework. The tree chart shows the logical relationship between each component. You can change the position or relationship of a component directly in the form (for example, changing the parent window of a component.
7. image editor: used to create, open, or save icons, cursor, and bitmap used in applications. Tools-> image editor
Chapter 2 common menus
I. File menu
Two points: ① when saving the file for the first time, you need to select the directory for saving the file, and then save it again. To change the directory of the saved file, select Save As or save project. ② Use unit: add the unit of the program to the current unit.
Ii. Edit menu
Tab order: Set the tab order.
Lock controls: Lock the component. Avoid misoperation to change the control position.
Add to interface: defines a new method, event, or property for an ActiveX component.
3. View menu
Component list: You can quickly find the required components. This method can be used if no component is found when you add a component to the form.
4. Project menu
Add to project: (optional) files to be added to the project. Note that you must first copy the required files to the current directory.
Options: the forms and application tabs are commonly used. On the Application tab, you can set the icon of the application window, the title of the application, and the description file corresponding to the application.
5. Tools menu
Environmentoptions: You can set the path of the resource library and the content displayed on the component panel.
Editor options: Set the editor.
Database Desktop: You can create, view, classify, change, or query tables in paradox, dBase, or SQL format in this window.
Image editor: Chapter 1 has been discussed.
Vi. Windows menu
Display common windows. When a form is opened, the form is automatically added to the Windows menu.