Pause, Step Over, and Trace Into buttons from the Delphi View toolbar. Add Compile, Build, and Syntax Check buttons to the toolbar. 2.Reset the toolbar to its default settings. 3.Spend some time looking over the components on each page of the Component palette. Place any components you are curious about on a form and experiment with them. Placing Multiple Copies of a Component. Placing and Centering a Component on the Form 4.Create a new directory on your hard drive. Create a new application in Delphi. Add three new forms to the project (they can be blank if you want). Save the project to the new directory you created and run the program. Close the program. Now examine the directory where the project was saved. 5.A Multiple-Form Application. When you click the Show Form 2 button on the main form, the second form is displayed. You can close the second form by clicking the system close box on the form's title bar. 6.You can now add an About box to the multiple-forms project you created earlier. 7.An MDI Sample Program. This application will enable you to open and save graphics files such as bitmaps, icons, and metafiles.
7
实验报告: 实验
报告: 1.实验目的 2.实验内容 3.实验方法 (1)将实验要求用 Delphi 语言编写并调试运行。 (2)查看运行结果,如果结果不正确,进行修改,直到正确为止。 4.实验总结 (1)编译、连接、运行不成功的操作情况,分析原因,改正的过程。 (2) 实验中的
问题和提高。 (3) 收获与体会。
8
实验(4) The Visual Component Model
实验目的: 实验目的: 通过应用程序熟悉控件的属性、方法和事件的使用。 实验内容: 实验内容: 设计并实现控件的显示与隐藏程序。 实验环境: 实验环境: 操作
系统:Windows 2000 开发环境:Delphi 7.0 实验步骤: 实验步骤: 步骤 1.Create a Delphi application that displays a bitmap on the main form when a button is clicked. 2.Create a Delphi application t
hat displays a message box saying Hello, Bubba! When the main form is clicked. 3.Place several components of your choice on a form. Click on a component and use the Object Inspector to study that component's properties. Repeat for each component on the form. 4.Switch to the Events tab and view the events of each component you placed on the form in Step 4. 5.Use frame component and understand framework. 6.Use two buttons to alternately show and hide the memo component through The Sender Parameter. 实验报告: 实验报告: 1.实验目的 2.实验内容 3.实验方法 (1)将实验要求用 Delphi 语言编写并调试运行。 (2)查看运行结果,如果结果不正确,进行修改,直到正确为止。 4.实验总结 (1)编译、连接、运行不成功的操作情况,分析原因,改正的过程。
9
(2) 实验中的问题和提高。 (3) 收获与体会。
10
实验(5) Working with the Form Designer and the Menu Designer
实验目的: 实验目的: 通过制作应用
程序来了解表单和菜单的
设计。 实验内容: 实验内容: 设计并实现带菜单的应用程序。 实验环境: 实验环境: 操作系统:Windows 2000 开发环境:Delphi 7.0 实验步骤: 实验步骤: 步骤 1.Place five edit components on a form and arrange them so that they are stacked vertically with their left edges aligned. 2.Turn the Snap to Grid option off (choose Tools | Environment Options from the main menu). Place five controls of your choice on a form and align their right edges. 3.Place a ListBox component on a blank form and modify it so that it always occupies the form's entire client area. 4.Add an About box to the ScratchPad program. Use the Align